Noticed that my previous work around can be modified to work a little
more properly.  The reason that the partman-auto/expert_recipe portion
of my preseed block was not working was a parse error on the behalf of
kickseed.  Instead of echoing the preseed information into the
preseed.cfg file you can use the normal kickstart preseed syntax, if you
enclose the recipe in single quotes.  This is normally outside the
normal preseed syntax for the debian installer. So the %pre section an
be replaced with:

preseed partman-auto/expert_recipe 'string boot-root :: 512 1024 768
ext4 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{
} filesystem{ ext4 } mountpoint{ /boot } . 15360 18432 20480 ext4
$lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4
} mountpoint{ / } . 5120 5632 6144 ext4 $lvmok{ } method{ format }
format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /var } . 1024
2048 4096 linux-swap $lvmok{ } method{ swap } format{ } . 1024 2048 3072
ext4 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{
ext4 } mountpoint{ /tmp } . 300 400 -1 ext4 $lvmok{ } method{ format }
format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /disk/trump }
.'

-- 
Unable to kickstart with LVM partition scheme.
https://bugs.launchpad.net/bugs/475864
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to