The title say’s it all after upgrading to fedora 35 and lately 36 the grubmenu doesn’t show the latest kernel available. Instead I am still stuck on the fedora 34 kernel. However the latest kernels are actually installed. This is confirmed according to the output given by the following terminal commands: (base) [ejan@fedora ~]$ rpm -q kernel-core kernel-core-5.12.15-300.fc34.x86_64 kernel-core-5.17.4-200.fc35.x86_64 kernel-core-5.17.3-302.fc36.x86_64
(base) [ejan@fedora ~]$ uname -a Linux fedora 5.12.15-300.fc34.x86_64 #1 SMP Wed Jul 7 19:46:50 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
This leaves me confused about whatever the reason could be that the grubmenu only shows the initial kernel. Can anyone make sense of this issue? Please tell me.
How did you do the upgrade? Did you use the dnf system-upgrade path or did you use the gnome-software gui? or did you do something else?
I personally always use dnf system-upgrade and have never had an issue with the way grub updates and displays the menu.
I also always do the recommended dnf upgrade --refresh step before I do the dnf system-upgrade download --releasever=## step. This usually means that for each fedora version installed I have a minimum of 2 kernel versions installed before I upgrade to the next release version as can be seen with dnf list installed kernel
If you do cat /etc/default/grub what do you see? On mine which always boots to the latest installed kernel I see GRUB_DEFAULT=saved
It would seem that you may have something different since you always boot to the same installed fedora 34 kernel. (dnf never replaces the currently running kernel so if booted to that kernel when upgrading it never will be replaced)
Hey Jeff, Thanks for your reply! I did indeed use the terminal based upgrade following this official fedora guide. So I have passed all the steps you suggested and I did have at least 2 kernel versions at the moment of upgrading.
I don’t really see anything specific to cause it to always boot to the F34 kernel here but the fact that you have #GRUB_TERMINAL_OUTPUT="console" may affect how or if you can even see the grub menu and select which kernel to boot.