Kernel 6.8.11 install failed to create initramfs file

Hey all!

I don’t know if this is a bug or not, but it seems on the latest kernel update, it didn’t create a initramfs for grub to launch. GRUB entry still seems to exist, but selecting it or working with it just takes me to a broken page:

error: ../../grub-core/fs/fshelp.c:257:file
'/initramsf-6.8.11-300.f40.x86_64.img' not found.

I didn’t deviate from the standard dnf update procedure, what could be causing this?

Thanks for your time!

Is there enough free disk space in /boot for the initrd?

Try rebuilding the initrd. See Initramfs not found

3 Likes

Nice, it seems rebuilding it fixed it! But I’m still not sure why it happened, and I would like to prevent it from happening in the future. /boot has plenty of space, and from what I could tell, when manually building, everything built cleanly. Is there anything else that could prevent the build process from occurring on kernel install?

Thanks!

Look for more details in /var/log/dnf.log.

Rebooting too soon after the upgrade with kernel install seems complete maybe? That certainly can interfere with some things that happen behind the scenes during an update.

I have automation that reboots on dnf update completing and initrd is never incomplete.

Background stuff like building nvidia drivers is independent of initrd creation.

 Rebooting too soon after the upgrade with kernel 
 install seems complete maybe?

Unfortunately, that’s almost definitely not the case. I had update the day before the affected reboot. That said, I have a couple friends who have updated fine on fresh F40 installs, so maybe I just need to re-image? I suppose I’ll find out if it reproduces next kernel update, and go from there; potentially was just computers being computers.

1 Like

Did you look in /var/log/dnf.log for details of the failure?

“Any sufficiently advanced technology is indistinguishable from magic” Arthur C. Clarke.

Computers are complex systems and may do things that appear to have no explaination. But I doubt you are in this situation. The logs should provide good eveidence of what happen.