Installer cannot install in open LUKS partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
It's not possible to install Xenial into an existing LUKS partition.
Before starting the graphical installer, I created and opened the LUKS partition as /dev/mapper/root. In the manual "Prepare Partitions" screen, /dev/mapper/root is shown as disk instead of partition. The partitioner thus creates ANOTHER partition in my partition, which fdisk shows as /dev/mapper/
Once the original installation is complete, I reboot again into the graphical installer image. When I open the LUKS partition as /dev/mapper/root, fdisk shows a partition root-part1 inside /dev/mapper/root. But I cannot mount this:
# mount /dev/mapper/root /mnt
-> wrong fs type, ...
# mount /dev/mapper/
-> does not exist
# mount /dev/mapper/
-> does not exist
# mount /dev/mapper/root1 /mnt
-> does not exist
Thus, the installation is borked and useless. The graphical installer needs to handle existing LUKS partitions as partitions, not as disks.
Finally, note that the guided install is NOT an option, as I don't want to rely on LVM.
Status changed to 'Confirmed' because the bug affects multiple users.