noble daily iso install with encrypted lvm fails to find /dev/mapper/ubuntu-vg--ubuntu-lv during first boot

Bug #2059992 reported by Jamie R. McPeek
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-desktop-provision
Invalid
Undecided
Unassigned

Bug Description

Using either 20240323 [sha256 a5542428fefc1a4fe0738484c12291e2ebbcbde092fae22b1b5de1b77c60c88f] or 20240325 [sha256 06f6134cc893de71e9032d25598f067459a81108f4ab18687b0d59c0c068dd66] daily isos, installation choosing encrypted lvm (using automatic partitioning) results in an unbootable system.

For the failed installs, during the live environment pre-installation, I have tried:
* Updating the installer as the version in the iso is out of date
* Not updating the installer
* Running an "apt-get update && apt-get dist-upgrade" in the live environment prior to running the installer

In each case, after the installation completes and the system is rebooted, the boot splash screen is presented, then it drops into the busybox recovery prompt.

A second restart results in the same thing, only with the grub boot options presented instead, but booting still fails.

This previously worked with a daily build prior to 20240318, but I don't have the specific version that did work.

Installation with lvm + encryption works from 22.04.4 and 23.10.1 installers on the same machine.

Installation WITHOUT lvm works using the 24.04 daily iso, producing a bootable installation.

CVE References

Revision history for this message
Helmut Köberle (hckoe) wrote :

If you install without any network, installation with lvm + encryption works and reboot is OK.
If you install with network and lvm without encryption it is also OK.
Seems initramfs has some problem with LUKS setup.
You can test it with a simple kvm installation.

Revision history for this message
Helmut Köberle (hckoe) wrote :

You can test it with a simple kvm installation with active/not active network.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

> * Running an "apt-get update && apt-get dist-upgrade" in the live environment prior to running the installer

Considering the date on which this bug was filed and when the tests were done, and considering the entire repository was (and is) in an unstable state due to an entire rebuild for CVE-2024-3094, that particular test case is invalid as it will surely cause the test to fail.

Revision history for this message
Helmut Köberle (hckoe) wrote :

With daily build is from 07.04.2023 it is working again.

Dennis Loose (dloose)
Changed in ubuntu-desktop-provision:
status: New → Invalid
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.