Perculiar problem with boot up


I was getting ready to upgrade a laptop (Dell XPS13) to Fedora 42 from Fedora 41 (yeah, it’s been a while) and for some reason, when I did an update of the current F41 just to ensure that all’s well, upon reboot, the system failed to start.

It said "error: ../../grub-core/fs/btrfs.c:2153:file `/boot/initramfs-6.14.6-300.fc41.86_64.img' not found"

And I had to reboot, and pick an older kernel and boot. I’ve never encountered this before. The hints were in the error, but what would be the best way to fix it without manually editing the grub config files?

A bit of duckduckgo.com search, it gave me this: https://discussion.fedoraproject.org/t/initramfs-not-found/73065

And specifically, https://discussion.fedoraproject.org/t/initramfs-not-found/73065/4 which reads: sudo su; dracut -f regenerate-all

And that was all that was needed and then I could proceed with the full upgrade to Fedora 42 using: dnf system-upgrade download --releasever=42 -y

And, we are back up and running on a freshly updated Fedora 42 release.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.