Installer cannot install in open LUKS partition

Bug #1579490 reported by ralphb
10
This bug affects 2 people
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/root-part1.

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/root-part1 /mnt
-> does not exist

# mount /dev/mapper/root/root-part1 /mnt
-> 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.