Unable to install to a luks device that is itself partitioned

Bug #1759388 reported by Dave Chiluk on 2018-03-27
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Critical
Unassigned

Bug Description

install.py crashed with AssertionError in __init__(): Failed to mount the target: /target

During installation.
1. Create a efi system partition
2. Create a /boot partition
3. Create a luks encrypted partition
4. Delete the auto-created filesystem added to the luks /dev/mapper device.
5. Create a partition table on the luks-encrypted /dev/mapper device.
6. Add a partition for / on the luks device.
7. Add a partition for /mnt/otheros on the luks device
8. Add a partition for /home on the luks device
9. Continue normally.
10. Installer crashed dialog.

I was attempting to create a 3-partition setup under a single luks device so that password entry would only need to happen once. This should theoretically be possible, but it crashed the installer.

ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: ubiquity 18.04.3
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu1
Architecture: amd64
CasperVersion: 1.391
Date: Tue Mar 27 20:58:58 2018
ExecutablePath: /usr/share/ubiquity/install.py
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
InterpreterPath: /usr/bin/python3.6
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180327)
ProcCmdline: /usr/bin/python3 /usr/share/ubiquity/install.py
Python3Details: /usr/bin/python3.6, Python 3.6.5rc1, python3-minimal, 3.6.4-1
PythonArgs: ['/usr/share/ubiquity/install.py']
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
SourcePackage: ubiquity
Title: install.py crashed with AssertionError in __init__(): Failed to mount the target: /target
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Dave Chiluk (chiluk) wrote :
summary: - Unable to install to a luks partition that is itself partitioned
+ Unable to install to a luks device that is itself partitioned
tags: removed: need-duplicate-check
Changed in ubiquity (Ubuntu):
importance: Undecided → Medium
Jean-Baptiste Lallement (jibel) wrote :

Still happening in Cosmic 20181002

information type: Private → Public
Changed in ubiquity (Ubuntu):
importance: Medium → Critical
tags: added: rls-cc-incoming
Launchpad Janitor (janitor) wrote :

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

Changed in ubiquity (Ubuntu):
status: New → Confirmed
clickwir (clickwir) wrote :

FWIW, I did basically the same process on 19.04 and it didn't crash.

I also didn't boot because the installer fails to recognize the encrypted root and doesn't even appear to attempt making a crypttab.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers