preseeding troubles

Chris Cole clecol at gmail.com
Tue Jun 15 14:52:10 BST 2010


Hey all,
I'm trying to develop a preseed file for Ubuntu 10.04 and everything 
works as expected until I get to the disk partitioning step. I would 
like to automatically partition the biggest free space with one atomic 
partition (with no swap partition). Here's my relevant preseed lines:

d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular

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/expert_recipe string                           \
         boot-root ::                                            \
               500 10000 1000000 ext2                            \
                         $primary{ } $bootable{ }                \
                         method{ format } format{ }              \
                         use_filesystem{ } filesystem{ ext2 }    \
                         mountpoint{ / }                         \
                         label{ os }                             \
                 .                                               \

d-i partman/default_filesystem string ext2
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
d-i partman/mount_style select uuid


Any suggestions?

Thanks,
   Chris

-- 
Chris Cole, Software Engineer
AAIM Controls (http://www.aaimcontrols.com)
Email: chris.cole at aaimcontrols.com
Email: clecol at gmail.com
11885 Mutual Drive | Waynesboro, PA 17268
Mobile: (717) 422-4714 | Office: (717) 765-9100



More information about the Ubuntu-installer mailing list