Installer cannot install in open LUKS partition

Bug #1579490 reported by ralphb on 2016-05-08
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)

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.

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  Edit
Everyone can see this information.

Other bug subscribers