Public bug reported:

"cryptsetup luksOpen" is not invoked in initrd to decrypt root
filesystem. Instead, initrd complains that it can not find the
filesystem with the UUID of the rootfs and I am thrown into the
initramfs prompt.

On the initramfs-prompt, I can manually invoke "cryptsetup luksOpen
/dev/nvme0n1p5 cr-root-1" and the missing UUID appears in /dev/disk/by-
uuid. After that, I can exit initramfs by typing CTRL-D and boot
procedure continues and succeeds.

This worked fine in ubuntu-24.04.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: initramfs-tools 0.151ubuntu1
ProcVersionSignature: Ubuntu 7.0.0-29.29-generic 7.0.12
Uname: Linux 7.0.0-29-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/grub.cfg ./casper/initrd 
./casper/ubuntu-server-minimal.squashfs ./dists/resolute/Release.gpg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug  5 22:24:12 2026
InstallationDate: Installed on 2026-08-05 (0 days ago)
InstallationMedia: Ubuntu-Server 26.04 "Resolute Raccoon" - Release amd64 
(20260420.1)
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2162931

Title:
  LUKS crypted root can not be opened during initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2162931/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to