Hi All,
I usually do not pay much attention to the kernel entries on my grub boot screen, but after upgrading my shop computer from FC40 to FC41 I looked. Oh Goody, I have kernels on my geub boot screen all the way back to FC32!!! 3/4 of my screen was filled with kernels!
Checking "rpm qa kernel" I only have the usual three kernels. Checking /.boot, I only have the three that rpm says I do. The fix was easy but hard to find on the internet. Here are my notes on the fix.
-T
Stray non-existent kernels in your grub boot screen:
You should normally only have three kernels loaded and showing in your boot screen. To check, run the following:
$ rpm -qa kernel kernel-6.11.5-100.fc39.x86_64 kernel-6.11.5-300.fc41.x86_64 kernel-6.11.6-300.fc41.x86_64
If after checking your /boot partition and finding that the numerous entries in your grub boot screen are really not there, as root, cd to
/boot/loader/entries/
And remove the stray kernel entries (not the other entries).