Hi all,
I'm attempting to create my first Ubuntu Server 10.04-4 LTS x64 preseed file and I'm afraid I can't figure out the hard drive partitioning aspect:
I have a 2TB hard disk that I need configured as follows (please note this system has hardware RAID that is already configured, so the OS install should merely see one large hard drive):
Partitions:
/ - 40 GB (ext4, must be bootable)
/swap - 32 GB
/local - all remaining free space (ext4)
The file systems need to be ext4 (with the exception of swap of course), and / must be bootable. I also need to use regular partitions rather than LVM. Also, I don't care about any data that's currently on the disk. I've been trying to cook something up via the examples on this page to no avail:
http://www.tylerlesmann.com/2008/jul/06/fun-preseed/
Any help is greatly appreciated (please note I'm incredibly new to *nix, so please handle with care)! =)
I found this example but am unsure how to modify it based on my stated requirements:
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/expert_recipe string \
boot-root :: \
40 50 100 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
500 10000 1000000000 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
64 512 300% linux-swap \
method{ swap } format{ } \
.
Thanks,
-Snipe