I installed KDE and it forced a new kernel install. I want to revert to the older kernel. Uninstalling KDE did not work.
[root@host ~]# uname -a
Linux host.domain.com 5.14.0-427.31.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 14 16:15:25 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
rpm -qa kernel\*
dnf list kernel\*
dnf rq --installonly
You did set the default entry “in the GRUB” menu that GRUB chooses on boot. For now.
The install of each new kernel(-core) will change that. See /etc/sysconfig/kernel
Kernel 5.14.0-427.31.1.el9_4 contains many security and bug fixes and new features that the 5.14.0-284.30.1.el9_2 do not have nor never will.
There will be no fixes for el9_2. el9_4 is the fix (until el9_5 is released). Rocky supports only latest – currently el9_4 based versions of packages.
If updated application packages start to require newer kernel – like the KDE did – and truly require, then you can’t install/update those either. Particularly GRUB on systems that use Secure Boot belong to that category.
“Want” is an unspecific, weak requirement. Is there a real, concrete, technical reason why use of supported version of Rocky is not possible for you?