Hi,
I'm trying to auto-install Ubuntu Server 14.04 beta2 using Preseed.
My installation targets have already ext4-formatted /dev/vdb's, but I'd like to ignore it and just install Ubuntu into /dev/vda.
I've read through the manual and the example, and wrote preseed.cfg like:
Code:
d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string lvm
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-lvm/confirm_nooverwrite boolean true
Created a preseeded bootable ISO image, boot with it, and I got a message like following:
[!!] Partition disks
The installer has detected that the following disks have mounted partitions:
/dev/vdb
Do you want the installer to try to unmount the partitions on these disks before continuing? If you leave them mounted, you will not be able to create, delete, or resize partitions on these disks, but you may be able to install to existing partitions there.
Unmount partitions that are in use?
<Go Back> <Yes> <No>
Does anyone know how can I avoid this message? I tried to take a look at debug log, which said that:
--> GET partman/filter_mounted
<-- 0 true
--> SUBST partman/unmount_active DISKS /dev/vdb
Adding [DISKS] -> /dev/vdb
<-- 0
--> FSET partman/unmount_active seen false
<-- 0 false
--> INPUT critical partman/unmount_active
<-- 0 question will be asked
--> GO
I thought that setting "d-i partman/unmount_active boolean true" should be enough, but no effect.
I'm not in haste, for the number of my installation targets is just <=10 for now and I can manually select <Yes> and press Enter.
But automation is beautiful. Any help will be appreciated, thanks in advance!