I am attempting to set a specific kernel version to use on my desktop, which is running Fedora Workstation 42. The version in question is 6.6.14, as this is the newest version available of 6.6.x in Koji.
I have attempted the following various steps:
1: Use Koji + Grubby.
- Download
kernel-*.6.6.14.fc39.x86_64.rpmfrom koji. (Despite it sayingfc39, I have had no problems with it working on 40 or 42 in the past.) - Enter the directory into which I have installed them and run
sudo dnf install ./*. - Run the command
sudo grubby --set-default /boot/vmlinuz-6.6.14-200.fc39.x86_64. - Reboot, expecting to enter kernel version
6.6.14. I instead enter6.15.4.
2: Update the grub configuration to enforce my selection of kernel.
- Open
/etc/default/grub. - Set
GRUB_DEFAULTfrom its current value (0) to the index of the desired kernel in my kernel list (4). - Run
sudo grub2-mkconfig -o /boot/grub2/grub.cfg. - Reboot, expecting this to change the kernel selection. This resulted in no change.
3: Attempt to force the kernel selection menu to open automatically by changing Grub settings.
- Same as above, but with changes suc has
GRUB_TIMEOUT_STYLE=menuandGRUB_TIMEOUT=20. No change was seen. (I wasn’t even able to get a beep to occur when settingGRUB_INIT_TUNE, which suggests that this file may not be getting read properly, even though I checked and verified thatgrub.cfgwas being changed.)
4: Use manual keypresses such as holding shift, pressing escape, or pressing f4 to get into the kernel selection menu. These did not succeed.
What other methods can I use to either automatically boot into my desired kernel version, or open the menu to select this version?