"No root file system is defined" error using preseeded LVM/atomic partitioning scheme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am using a preseed file for automating netboot installs.
However, *if there's only one disk and it is already partitioned* I
often get this error:
"""
!! Partition disks
No root file system
No root file system is defined.
Please correct this from the partitioning menu.
"""
It seems that the installer gets confused when it would have no
changes to perform on the filesystem (i.e., installing a machine twice
in a row with the same preseed file).
I have never seen the error if there is more than one disk (however,
in this setup the disk being installed is not the first one, which may
or may not be relevant).
I have never seen this error when starting with a blank disk.
The error is frequent but not systematic: there are times when the
installation proceeds normally. So far, I have only tested the
procedure with VMs so I cannot say if this can be replicated with a
physical machine.
The relevant section from the preseed file is:
### Partitioning
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman/
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
# do not ask for confirmation, ever
d-i partman/
d-i partman/confirm boolean true
d-i partman/
d-i partman/
d-i partman-
d-i partman-lvm/confirm boolean true
d-i partman-
d-i partman-
d-i partman-md/confirm boolean true
d-i partman-
d-i partman-
I have also tried the following explicit recipe, to no avail:
d-i partman-
This could be the same issue described in bug #993552 .
Status changed to 'Confirmed' because the bug affects multiple users.