Fedora 41 update failure

,

I upgraded my fedora to 41 through discover. After update it asked me to restart the system. But after restarted my fedora 41 boot shows no kernel found and the older fedora 40 fails to starting my services. Please help me resolve the issue or atleast revert my system without any data loss. Also I don’t have live boot , so please give solution without one. Thank you. Attached the error screens

You might be affected by the failure to create the initramfs image for kernel version 6.12.5, also discussed in this thread.

You would need to boot into a previous kernel and generate the initramfs with sudo dracut --kver 6.12.5-200.fc41.x86_64.

In case you cannot boot into any of the available kernels, you can check if this is actually your issue, by editing the boot entry:

  • Edit any of the boot entries with pressing e;
  • Add rw init=/bin/bash to the end of the line starting with linux;
  • Press Ctrl+x to access the command line;
  • Mount the file systems with mount -a;
  • List the initramfs images with ls -l /boot/init*;
  • Check if image available for kernel 6.12.5 is missing.

Unfortunately dracut cannot be run from this simple bash shell, so if no kernel is bootable, I guess the option left is to boot into an F41 live session, mount all the file systems[1], chroot and then run the dracut command to regenerate the image for F41.


  1. There are several posts here suggesting the necessary commands. ↩︎