Sniperm4n
April 30th, 2012, 08:34 PM
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)! =)
Thanks,
-Snipe
*EDIT* I just found this example, but am uncertain how to modify it based on my exact needs:
# If not, you can put an entire recipe into the preconfiguration file in one # (logical) line. This example creates a small /boot partition, suitable # swap, and uses the rest of the space for the root partition: #d-i partman-auto/expert_recipe string \ # boot-root :: \ # 40 50 100 ext3 \ # $primary{ } $bootable{ } \ # method{ format } format{ } \ # use_filesystem{ } filesystem{ ext3 } \ # mountpoint{ /boot } \ # . \ # 500 10000 1000000000 ext3 \ # method{ format } format{ } \ # use_filesystem{ } filesystem{ ext3 } \ # mountpoint{ / } \ # . \ # 64 512 300% linux-swap \ # method{ swap } format{ } \ # .
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)! =)
Thanks,
-Snipe
*EDIT* I just found this example, but am uncertain how to modify it based on my exact needs:
# If not, you can put an entire recipe into the preconfiguration file in one # (logical) line. This example creates a small /boot partition, suitable # swap, and uses the rest of the space for the root partition: #d-i partman-auto/expert_recipe string \ # boot-root :: \ # 40 50 100 ext3 \ # $primary{ } $bootable{ } \ # method{ format } format{ } \ # use_filesystem{ } filesystem{ ext3 } \ # mountpoint{ /boot } \ # . \ # 500 10000 1000000000 ext3 \ # method{ format } format{ } \ # use_filesystem{ } filesystem{ ext3 } \ # mountpoint{ / } \ # . \ # 64 512 300% linux-swap \ # method{ swap } format{ } \ # .