Fedora 36 - fix for issue with new kernel installation

Published on Author admin

Sympthons:
On UEFI Fedora 36 machines with long upgrade history (for instance starting from F25) you can encounter problem that after "dnf update kernel-core" new kernels are not being installed.

Reason:
When directory /boot/efi// is present, system is trying to install new kernel images into /boot/efi// instead of /boot/, which issues with /boot/efi/ overflow.

Resoloution:
Remove "/boot/efi//" directory:

rm /boot/efi/<machine id>/ -rf

After that reinstall kernel-core packages:

dnf reinstall kernel-core