Got exactly same issue with my very new endeavousOS install (I am new to this OS, just discovering it since a couple of days).
This morning, I updated the system, then at reboot, got that error (failed to mount /sysroot).
I confirm nothing can be done at boot time : entering password or Ctrl-D has no effect, system is totally dead.
dracut version is 108, and I have LTS kernel installed and used by default.
kernel mainline is 6.17.5.arch1-1 & kernel LTS is 6.12.55-1 (cannot boot)
=> I had to enter Grub menu and choose kernel 6.17.5 to boot successfully.
Let me know if you need more information, or tell me how to fix that.
Should I remove LTS kernel ?? (which is illogical isn’t it ?).
Thanks.
I moved this to a new topic since there are a lot of reasons that error can occur and it probably isn’t related to that other posters issue.
First, try booting into the kernel that works and running sudo dracut-rebuild.
If that doesn’t fix it, you need to find the actual error. Failed to mount sysroot is a secondary error. The actual error, the reason it fails to mount sysroot, is further up in the boot text.
I did run dracut-rebluid, but no change to the issue. But there are some good news although I don’t understand everything, this beyond my knowledge :
I forgot to mention I am using rEFInd to boot. My desktop is configured to dual-boot between Debian and EndeavourOS. On Debian, I have installed rEFInd a long time ago (thus only installed from Debian). Then I installed EndeavourOS some days ago, and I was able to boot EOS using rEFInd boot manager, so far so good (booting directly from the EOS boot loader, and not using GRUB).
Until this morning : as I said, I updated the EOS (pacman -Syu), and after a reboot, I got the system stuck with the “failed to mount /sysroot“ error.
After some more testing, here is what I observe :
If I select the /boot/efi/EFI/endeavouros/grubx64.efi option, I can boot EOS selecting LTS kernel. Note this is from the system EFI partition.
If I select the /boot/vmlinuz-linux-lts option, then I get the system stuck with “Failed to mount /sysroot“ error. Note this is from the system disk where EOS is installed.
I can boot from both Debian similar choices (Grub or Debian boot loader).
If I am correct, the 2nd option is to boot directly from the boot loader on the ext4 system partition (when the first one is the grub boot manager from FAT32 EFI partition).