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

trouble preseeding partman recipe



I'm having trouble getting my preseeded partman recipe working properly.  I 
always get the no root partition defined error.

Here is the partman recipe I'm using

boot-root ::
100 300 200 ext3 $primary{ } $bootable{ } method{ format } format{ } 
use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } .
8000 8050 8100 ext3 method{ format } format{ } use_filesystem{ } filesystem{ 
ext3 } mountpoint{ / } .
4000 4050 4100 ext3 method{ format } format{ } use_filesystem{ } filesystem{ 
ext3 } mountpoint{ /opt } .
4000 4050 4100 ext3 method{ format } format{ } use_filesystem{ } filesystem{ 
ext3 } mountpoint{ /tmp } .
20000 20050 20100 ext3 method{ format } format{ } use_filesystem{ } 
filesystem{ ext3 } mountpoint{ /home } .
8000 8050 8100 ext3 method{ format } format{ } use_filesystem{ } filesystem{ 
ext3 } mountpoint{ /var } .
20000 20050 20100 ext3 method{ format } format{ } use_filesystem{ } 
filesystem{ ext3 } mountpoint{ /home } .
70000 71000 72000 ext3 method{ format } format{ } use_filesystem{ } 
filesystem{ ext3 } mountpoint{ /var/opt } .
2000 2000 25% linux-swap method{ swap } format{ } .


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


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

partman - http://www.pastebin.org/51865
syslog - http://www.pastebin.org/51866 and http://www.pastebin.org/51868

I'm thinking I must have missed something simple,  I'm not doing anything to 
advanced here.  When I remove the custom partman recipe,  and just use the 
default lvm all space in one partition the install works fine.  So it's 
something to do with my recipe or my preseed configs methinks.

Thanks,

Ryan


Reply to: