I've been battling with this problem for a couple of weeks now. I'm trying to automate the installation of Ubuntu servers using PXE and Kickstart. I've managed to fix most problems I've run in to through Google but this one has me stumped. The only other example of this problem I can find is on askubuntu where a guy is asking exactly the same question I'm about to ask but it has no responses. From this I can conclude one of two things - no-one is using Kickstart or this is a problem cause by some obscure setting I haven't found.
To my question. This line in my preseed file
d-i partman-auto/choose_recipe select atomic
supposedlyartitions the entire disk as one partition. Exactly what I want. However, onc the install is complete, my disk looks like this
Filesystem Size Used Avail Use% Mounted on /dev/mapper/server1-root 9.2G 1.5G 7.3G 18% / ...some other stuff like udev... /dev/sda1 228M 25M 191M 12% /boot /dev/mapper/server1-home 203G 188M 192G 1% /home
So the hard disk has been partitioned with a tiny root partition and a massive home partition. Reading the manuals implies this is what
d-I partman-auto/choose_recipe select homes
does but it also implies there's no "default" action - that is if my syntax for this line was wrong or if it was missing altogether, the installer would stop and ask me what to do. But it doesn't - it just ploughs on and creates this massive /home partition.
The main thing that's confusing me (which the other poster didn't mention) is why it's
That implies to me it thinks it's a RAID or some other DM volume. Which it isn't - it's a single 240Gb disk.
The rest of my preseed as it stand at the moment is below. Please note this is version 1 million and something - I've really been hacking away at this for days. I've tried non-LVM versions and so on. This just happens to be the most recent version I tried before I posted on here.
d-i partman-auto/disk string /dev/sda d-i partman/default_filesystem string ext4 d-i partman-auto/method string lvm 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-lvm/guided_size string max d-i partman-auto/choose_recipe select atomic d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true
The machine also has a second 1Tb disk in it which would be mounted as /data once I get the first disk portioned correctly.
I really hope someone out there can help because I've spent way to long on this one problem.