Public bug reported:

Ubuntu 26.10 on an HP Laptop 15-fc0xxx with root on LVM inside LUKS. The
user reported that kernel 7.3.0-11-generic fails during early boot with
/dev/mapper/ubuntu--vg-ubuntu--lv does not exist; 7.3.0-10-generic boots
successfully.

The working 7.3.0-10 initramfs was generated by dracut and includes
cryptsetup support. On this system dracut was subsequently removed and
initramfs-tools 0.151ubuntu3 was installed. The 7.3.0-11 image was
generated by initramfs-tools while cryptsetup-initramfs was not
installed. The image contained LVM utilities and NVMe modules but lacked
cryptroot/crypttab, scripts/local-top/cryptroot and usr/sbin/cryptsetup.
The LVM physical volume resides on the unlocked LUKS device.

Expected: a newly generated initramfs for an encrypted root includes the
required unlock support, or the package transition warns clearly and
prevents creation of an unbootable image. Actual: the system reaches the
missing root device error.

Installing cryptsetup-initramfs 2:2.8.7-1ubuntu3 and regenerating the
7.3.0-11 initramfs adds cryptroot/crypttab, scripts/local-top/cryptroot,
scripts/local-block/cryptroot and usr/sbin/cryptsetup. The working
7.3.0-10 initramfs SHA-256 was verified unchanged. Booting the rebuilt
7.3.0-11 image has not yet been tested, so the missing LUKS support is a
strongly supported cause rather than a confirmed fix.

Please investigate whether the transition between initramfs generators
should install cryptsetup-initramfs or report an error when root is
encrypted. The exact package transition may be system-specific; I am not
attributing the fault to the kernel itself.

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

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

Title:
  LUKS root cannot boot after switching from dracut to initramfs-tools
  without cryptsetup-initramfs

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


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

Reply via email to