Preseed Partman: multiple partitions on one disk /tmp /data /usr swap
Posted
by
Moritz
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Moritz
Published on 2012-12-04T16:18:16Z
Indexed on
2012/12/04
17:20 UTC
Read the original article
Hit count: 326
trying to get preseeding on 12.04 64bit with what should be a basic setup to work:
/dev/sda - the only drive beeing used
/ - rootfs - 100GB
- /boot - 1GB
- /tmp - 10GB
- /data - should take all available space
- swap - 10GB
-
d-i partman-auto/expert_recipe string \
boot-root :: \
1000 50 1000 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
500 1000 10000 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /tmp } \
. \
500 5000 100000000 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /data } \
. \
64 2000 10000 linux-swap \
method{ swap } format{ } \
. \
500 3000 100000 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
If i only use the code for /boot,swap and / it works. Also i was wondering weather i have to specify some other recipe name than "boot-root", but trying "thisNameIsNotDefinedInPartman" the result was the same.
The Error message displayed by the ubuntu installer is always "no root file system is defined"
Thanks for your help,
Moritz
© Ask Ubuntu or respective owner