hi everyone , i’m on fedora 38 and this morning after kernel update from 6.2.12-300.fc38 to 6.2.13-300.fc38 , my pc doesn’t boot .
The error i got is
'/initramfs-6.2.13-300.fc38.x86_64.img' not found
Press any key to continue ..-
luckily I can boot 6.2.12-300 and yes , the .img file seems not exits.
can anyone help me?
Welcome, Alex. Good that you found the origin of the problem. May be the simplest solution is to reinstall the kernel with “sudo dnf reinstall kernel-core-6.2.13-300” and see whether error messages are displayed. If you have a separate boot partition, is it large enough to accommodate the kernels and initramfs files? If not, use “dnf remove” to remove the oldest one, but always keep two working ones!
hi ,thank you for the reply.
I didn’t receive any error during/after installation with dnf.
After checked the existance of the kernel dependeces,I solved by creating .img file,with
# dracut --kver 6.2.13-300.fc38.x86_64
I set the kernel 6.2.13 as default boting kernel
# grubby --set-default /boot/vmlinuz-6.2.13-300.fc38.x86_64
then the system boots correctly
You probably will want to revert that setting to the default (latest) kernel.
If left as is the action seems as if it would always use the 6.2.13 kernel even when a newer one is installed.
So,ty for your reply ,I used that command to test the right kernel boot.
btw today I updated to 6.2.14 with dnf and grub2 has been automatic updated as well as the default kernel to boot.