preseed.cfg and disk partitioning problem
Hi,
I'm trying to automate the disk partitioning using preseed.
I'd like to create 4 partitions : /boot (100 Mo), / (10 Go), swap (2x
RAM) and /home (remaining free space)
I use this line (in preseed.cfg) :
d-i partman-auto/expert_recipe string boot-root :: 90 150 100 ext3
$primary{ } $bootable{ } method{ format } format{ } use_filesystem{ }
filesystem{ ext3 } mountpoint{ /boot } . 9000 150 10000 ext3 method{
format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /
} . 9999 150 100000000 method{ format } format{ } use_filesystem{ }
filesystem{ ext3 } mountpoint{ /home } . 200% 150 8000 linux-swap
method{ swap } format{ } .
This only create "/" and the swap partition (/boot and /home are ignored).
Could you explain me how to set the "priority" (2nd number) argument ?
I'm looking for a configuration which would work with disks of any
size (only /home will have a different size (depending on the disk
size)).
I managed to make it work once. Every partitions were created, but it
fails when I tried with another server.
I'm running Etch, and the preseed.cfg is in initrd.gz.
Thanks for your help.
Reply to: