** Description changed: I created an initrd with dracut and successfully booted with it, but generating an initrd fails then: ``` $ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic - cryptsetup: WARNING: target 'luks-e1446dc1-f3d2-445f-96aa-09245ebe7bd5' not - found in /etc/crypttab + cryptsetup: WARNING: target 'luks-e1446dc1-f3d2-445f-96aa-09245ebe7bd5' not + found in /etc/crypttab W: Couldn't identify type of root file system '/dev/mapper/system_crypt' for fsck hook + ``` + + Booted with an initrd from initramfs-tools: + + ``` + $ mount | grep system_crypt | grep -v snap + /dev/mapper/system_crypt on / type ext4 (rw,relatime,discard,errors=remount-ro) ``` ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: initramfs-tools 0.142ubuntu34 ProcVersionSignature: Ubuntu 6.11.0-8.8-generic 6.11.0 Uname: Linux 6.11.0-8-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Thu Oct 17 15:14:42 2024 InstallationDate: Installed on 2022-03-09 (953 days ago) InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012) PackageArchitecture: all SourcePackage: initramfs-tools UpgradeStatus: Upgraded to oracular on 2024-05-02 (168 days ago) modified.conffile..etc.apport.crashdb.conf: [modified] mtime.conffile..etc.apport.crashdb.conf: 2024-09-11T14:06:08.605603
** Description changed: I created an initrd with dracut and successfully booted with it, but generating an initrd fails then: ``` $ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic cryptsetup: WARNING: target 'luks-e1446dc1-f3d2-445f-96aa-09245ebe7bd5' not found in /etc/crypttab W: Couldn't identify type of root file system '/dev/mapper/system_crypt' for fsck hook ``` Booted with an initrd from initramfs-tools: ``` $ mount | grep system_crypt | grep -v snap /dev/mapper/system_crypt on / type ext4 (rw,relatime,discard,errors=remount-ro) + ``` + + Booted with an initrd from dracut: + + ``` + $ mount | grep " / " + /dev/mapper/luks-e1446dc1-f3d2-445f-96aa-09245ebe7bd5 on / type ext4 (rw,relatime,errors=remount-ro) ``` ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: initramfs-tools 0.142ubuntu34 ProcVersionSignature: Ubuntu 6.11.0-8.8-generic 6.11.0 Uname: Linux 6.11.0-8-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Thu Oct 17 15:14:42 2024 InstallationDate: Installed on 2022-03-09 (953 days ago) InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012) PackageArchitecture: all SourcePackage: initramfs-tools UpgradeStatus: Upgraded to oracular on 2024-05-02 (168 days ago) modified.conffile..etc.apport.crashdb.conf: [modified] mtime.conffile..etc.apport.crashdb.conf: 2024-09-11T14:06:08.605603 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084809 Title: update-initramfs fails when booted with dracut initrd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2084809/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
