Initramfs not found

Hello,

since a recent update I am not able to boot to the latest kernel 6.1.9.
I get the following error:

Booting 'Fedora Linux (6.1.9-200.fc37.x86_64) 37 (Workstation Edition)'

error: ../../grub-core/fs/fshelp.c:257:file
'/initramsf-6.1.9-200.fc37.x86_64.img' not found.

Press any key to continue...

Pressing any key does not yield any result. I have to power off the machine manually.
I am able to boot 6.1.8 via grub menu though.
I’ve tried to reinstall kernel 6.1.9, but it has not solved the issue.

Any hints how to solve this?

6 Likes

Ok, it was obvious. There was no initramfs image created under /boot.
Creating it manually has fixed the issue.

$ sudo su
# dracut --kver 6.1.9-200.fc37.x86_64
6 Likes

Thanks for this clue!

But the command that works for me was:

sudo dracut --kver 6.10.6-200.fc40.x86_64 --force /boot/initramfs-6.10.6-200.fc40.x86_64.img

1 Like

I fixed the exact problem with

sudo su
dracut -f --regenerate-all

3 Likes