4.X kernel on RHEL7 x86_64

Latest response

Does anyone know how to get/install the kernel-alt package on a x86_64 system? I know that it is not officially supported, but this is for a test/development environment that requires the use of the 4.X kernel.

I have it working with CentOS7 (1804) and the kernel-ml from elrepo.org, and now would like to see if I can replicate a similar setup with RHEL7. Long-term this project will be built using RHEL (after 4.X is officially supported), so I would prefer to begin with RHEL instead of CentOS if possible.

Or is it possible to side-load / source compile a new kernel on RHEL?

Thanks in advance

Responses

ELRepo's kernel-ml and kernel-lt are built for RHEL. kernel-ml is fast moving but kernel-lt should remain at 4.4 for a while. Will this not work for you?

kernel-lt would work just fine, but I thought that RHEL blocked access to 3rd-party repos to ensure stability and regulatory compliance. Is there any documentation on how to load an unofficial kernel, either through yum or manually side-loading? Just trying to save myself some time instead of re-inventing the wheel.

I figured it out. Now to rebuild the installation disc with a kickstart file and the new kernel...

Glad that you figured it out. For posterity, I briefly summarize the steps for those who may be interested:

(1) Set up the elrepo repository by following the instructions at ELRepo homepage. (2) To install kernel-lt, run

yum --enablerepo=elrepo-kernel install kernel-lt 
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.