Unable to boot to different kernel

I have the current kernel version of 5.14.0-503.14.1.el9_5.x86_64 and I need to install 5.14.0-503.40.1.el9_5.x86_64. Can someone help how boot to new kernel.

I have installed below packages
kernel-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-modules-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-core-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-modules-core-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-debug-core-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-modules-extra-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-debug-modules-core-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-tools-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-devel-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-tools-libs-5.14.0-503.40.1.el9_5.x86_64.rpm
kernel-headers-5.14.0-503.40.1.el9_5.x86_64.rpm

After rebooting not booting with new kernel.
ls -lthr /boot/vmlinuz-*
-rwxr-xr-x. 1 root root 14M Nov 15 2024 /boot/vmlinuz-5.14.0-503.14.1.el9_5.x86_64
-rwxr-xr-x. 1 root root 14M May 19 14:45 /boot/vmlinuz-0-rescue-1894eeb08b1d4c8d83e6acb4c46c8013

I am missing any packages to boot?

Both of those kernels are outdated; the current version is 5.14.0-570.21.1.el9_6.x86_64. You should probably run “dnf upgrade” to update to the newest kernel and then see what happens.

I do agree with that.


Only two kernel files are shown by the ‘ls’. One is “rescue”, a copy of an another and thus not interesting here.

The other, rpm -qf /boot/vmlinuz-5.14.0-503.14.1.el9_5* should show which package provides it.
Likewise, the corresponding 5.14.0-503.40.1.el9_5 package should provide a vmlinuz-file.
Why the file is not there?

rpm -Va kernel\*

should show if the installed kernel* packages have modified/missing files.
There are probably missing files, but how would package install “succeed”, if files are not written?

Btw, one can also list installed “per-kernel” packages with:

dnf rq --installonly

A reason to check what went wrong with install of the 503.40.1 packages is that that same issue might repeat with other kernel versions too.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.