Help - Search - Members - Calendar
Full Version: How to select & install an obsolete RHEL kernel?
The Planet Forums > Operating Systems > Red Hat Linux
platypus
How do I install an older, obsolete redhat enterprise kernel using up2date, and how do I see a list of the different revisions to choose from?

Thanks!
xerophyte
I think up2date only allow you to download the updated version of kernel, but you should be able to download the source rpm for the olderver kernel and rebuild it. But mostly kernel are installed and you should have old kernel left on your server when you install new one.

Because kernel rpms are not replaced when you install new kernel rpms.

hope that helps
platypus
I need a kernel in between what I'm running and the current latest. Any ideas? How can I at least download a specific, obsolete RPM manually?
kfukasawa
You will need to get the source RPM for the kernel that you are looking for. You should be able to find it at one of these URLs.

##### For RHEL3 #####
http://updates.redhat.com/enterprise/3ES/en/os/SRPMS/

##### For RHEL4 #####
http://updates.redhat.com/enterprise/4ES/en/os/SRPMS/

You will download and install the source RPM. Then hop into the SPECS directory.

CODE
cd /usr/src/redhat/SPECS


Then rebuild the kernel packages.

CODE
rpmbuild -bb --targate=<YOUR PLATFORM> kernel-<VERSION>.spec


Where '<YOUR PLATFORM>' is either 'i686' or 'x86_64'. Once the build completes, the kernel packages will be in the '/usr/src/redhat/RPMS/<YOUR PLATFORM>/' directory.

Install the needed packages with the 'rpm -i' command.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.