dracut seems related but issuer is the Kernel i bet still as of other kernels do not have the same issue.
And some people including me on different machines can boot again on LTS latest dracut latest LTS package.
Also is this all unencrypted installs and mixed grub and systemd-boot?
What’s even more strange is that while in LTS Fallback I did sudo dracut-rebuild and I’m no longer seeing the Failed to mount /sysroot error message. No issues logging into LTS anymore.
does it shows like that?
Grub: sudo lsinitrd /boot/initramfs-linux-lts.img | grep ext4
systemd-boot:
locate the initrd inside /efi/"UUUID"/6.12.28-1-lts/initrd
and use: sudo lsinitrd /efi/"UUUID"/6.12.28-1-lts/initrd | grep ext4
replace “UUID” with the machineid of your path …
So seems somehow dracut is missing to build in add_dracutmodules+=" kernel-modules "
what includes ext4
In case it will only look like so:
systemd-boot, dracut & ext4 here. LTS is my emergency kernel, I run zen. Exactly the same error and the weird resolution of rebuilding from LTS fallback works.
systemd-boot:
locate the initrd inside /efi/"UUUID"/6.12.28-1-lts/initrd
and use: sudo lsinitrd /efi/"UUUID"/6.12.28-1-lts/initrd | grep btrfs
replace “UUID” with the machineid of your path …
But what we need to have in mind is that on rebuild it will read from any existing initrd images.. and salso the oiutput from lsinitrd is not showing everything:
Because lsinitrd lists userspace tools and explicit dracut modules, but not always kernel modules embedded in the image unless they were included via specific dracut modules like kernel-modules or drivers.
and in addition:
dracut uses information from the currently running system, such as loaded modules and current hardware config unless you explicitly tell it to
That makes it a bit less confusing.
Only open question is still why LTS initrd is build without that modules for the filesystem.
this:
ext4 might be built as a module (not y, but m in CONFIG_EXT4_FS=m) — in that case, if the initramfs lacks the .ko file, you can’t mount /sysroot.