partman recipe questions
Tim Jackson
tim.jackson at ints.com
Mon Nov 28 18:51:25 UTC 2005
I have several questions about using recipes with partman during the
Ubuntu install. This is using the current Breezy Install
1. Is there a way to tell partman to use existing partitions? This would
be similar to the way a RedHat kickstart can use the onpart keyword.
2. When I create a partman recipe that includes tmp and var using the
following recipe . I end up with two unnamed partitions. In other
words it creates the partitions but does not create the mount points.
Whats up with that?
d-i partman-auto/disk string /dev/discs/disc0/disc
d-i partman-auto/expert_recipe string
boot-root-usr-home-opt-var-tmp-recovery :: 150 150 150 ext3 $primary{ }
$bootable{ } method{ format } format{ } use_filesystem{ } filesystem{
ext3 } mountpoint{ /boot } . 2000 2000 2000 ext3 $primary{ } method{
format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /} .
2000 2000 2000 linux-swap $primary{ } method{ swap } format{ } . 4000
4000 4000 ext3 method{ format } format{ } use_filesystem{ } filesystem{
ext3 } mountpoint{ /usr } . 4000 4000 4000 ext3 method{ format } format{
} use_filesystem{ } filesystem{ ext3 } mountpoint{ /home } . 16000 16000
16000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3
} mountpoint{ /opt } . 2000 2000 2000 method{ format } format{ }
use_filesystem{ } filesystem{ ext3 } mountpoint{ /var } . 2000 2000 2000
method{ format } format{ } use_filesystem{ } filesystem{ ext3 }
mountpoint{ /tmp } . 500 1000 1000000 ext3 method{ format } format{ }
use_filesystem{ } filesystem{ ext3 } mountpoint{ /recovery } .
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
3. If try to create a partman recipe that doesn't use the whole disk it
fails saying I haven't created a / partition. How does one only leave
empty space on a disk using a partman recipe.
Thanks in advance for your help
Tim J
More information about the ubuntu-users
mailing list