Installer crashes when installing over existing LUKS or LVM

Bug #1727956 reported by Aku Pietikäinen on 2017-10-27
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Critical
Unassigned

Bug Description

Trying to install Ubuntu over existing LUKS full disk encryption. Installer crashes when running grub-installer to /dev/dm-0.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: ubiquity 17.04.9
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CasperVersion: 1.380
Date: Fri Oct 27 10:24:45 2017
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-gnome.seed boot=casper only-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcEnviron:
 TERM=unknown
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LC_NUMERIC=C.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Aku Pietikäinen (daku) wrote :
Phillip Susi (psusi) wrote :

Confirmed: having an existing LUKS or LVM install and trying to reinstall over it causes ubiquity to try to install grub to /dev/dm-0 instead of /dev/sda, which fails.

summary: - Installer crashes when installing over existing LUKS encryption
+ Installer crashes when installing over existing LUKS or LVM
Changed in grub-installer (Ubuntu):
importance: Undecided → Critical
status: New → Triaged
Phillip Susi (psusi) on 2017-11-15
affects: grub-installer (Ubuntu) → ubiquity (Ubuntu)

Hi there,

I'm new here so I do not know if posting a comment is the right way to check the status of this issue. Apologies if not.

As far as I understand the status of this issue it has not yet been fixed. Is there any workaround for this?

I am exyperimenting with

d-i grub-installer/bootdev string (hd0,1)

to force installing grub on the first harddisk.

But it does not seem to do the trick.

Is there anything else I can do as a workaround? Download another boot image? Anything?

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

Other bug subscribers