[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trouble preseeding partman recipe



On Wednesday 16 July 2008, Ryan Braun [ADS] wrote:
> filesystem{ ext3 } mountpoint{ /var/opt } .
> 2000 2000 25% linux-swap method{ swap } format{ } .

25%?
This is the only strange thing I can see. Try 100% instead.

> And the preseed definitions
> d-i partman-auto/disk string /dev/sda
> d-i partman-auto/method string regular
> d-i partman-auto/expert_recipe_file string /cdrom/ads/partman/recipe-w2
> d-i partman/confirm_write_new_label boolean true
> d-i partman/choose_partition \
> 	select Finish partitioning and write changes to disk
> d-i partman/confirm boolean true

For debugging this, try not setting the last two values and basically not 
preseeding anything after this point. That will allow you to check what's 
shown.

Check that the recipe file is actually in the location you specified 
and "looks" correct (compare with /lib/partman/recipes/). Any problems 
with line endings perhaps (DOS-style versus Linux-style)?

The only way to really debug this (if needed) is probably to enable 
debugging in appropriate shell scripts under /lib/partman. You could 
start by adding one in /lib/partman/lib/recipes.sh.

Also check /var/log/partman. You should be able to recognize the actions 
it performs and see how far it gets.

> I've also got both the partman and syslogs up on pastebin to view

pastbin is fairly useless for logs because of the length limitations. 
Please just attach (gzipped!) next time.

Cheers,
FJP

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: