I have a server with RHEL 7.5 OS. The inbox kernel version on the system is 4.14.0-49. I have a requirement to use the latest available kernel, so I downloaded the Kernel 4.17.18 source package and compiled it on my system. So now I have both the kernels in place.
However I cannot boot to the newly compiled kernel version 4.17.18, I see the following error message when I instruct it to boot.
error: invalid magic number.
error: you need to load the kernel first.
Press any key to continue...
Here is the splash screen of the boot options available on my server. Fortunately I can still boot to the old kernel version(4.14.0-49) on my system.
Red Hat Enterprise Linux Server (4.17.18) 7.5 (Maipo)
Red Hat Enterprise Linux Server (4.14.0-49.el7a.aarch64) 7.5 (Maipo)
Red Hat Enterprise Linux Server (0-rescue-68f1601b5f1c4eb09734921b3db38f
Is there a configuration step that I'm missing?
file
for both files?