Solved

Is there a way to find out what previous kernels were installed?

Posted on 2001-06-28
4
148 Views
Last Modified: 2013-12-15
Hello,

I remember having installed Red Hat 6.2, then doing an upgrade install to Red Hat 7.0, then  Red Hat 7.1.  

Is there a way to find out what kernels were installed by looking at the distribution CDs or looking at system logs?

If not, what kernels typically came with RH 6.2 and RH 7.0?

Thanks.
0
Comment
Question by:peyo
  • 2
4 Comments
 
LVL 17

Expert Comment

by:dorward
ID: 6235937
Look for an rpm called "kernel*****rpm"

The *s will be the version number.

For example on my Red Hat 7 system I have the kernel-2.2.16-22 package installed which is rpm version 22 of kernel 2.2.16.

However you should if possible upgrade to the latest kernel (you might want to stick to the 2.2 series which at the moment is 2.2.19 or upgrade to 2.4 which is at 2.4.5) for bug fixes and performance enhancement.
0
 
LVL 5

Accepted Solution

by:
garboua earned 50 total points
ID: 6236347
you upgraded right?  
1.  the installation, RH specifically, leaves the previous kernel skeleton under "/usr/src" and pulls out the config files ".config" and ".config.old"  so look under your /usr/src for  directories.
2.  look under "/boot" and your old images should still be there, look for vmlunuz, "ls vmlinuz*".
3. look under your /etc for "lilo.conf*.rpm*" and it sould give you at least  the previous version.  inside it should point to , what WAS, current image.

4. well, rh6.2 comes with 2.2.14, rh7.0 comes with 2.2.18, and rh7.1 comes with 2.4.2.  

5. under distro cd look under /mnt/cdrom/RedHat/RPMS and as doward suggested "ls kern*.rpm" and it should give you your detail.

good luck
0
 
LVL 5

Expert Comment

by:paulqna
ID: 6248052
uname -a

or

look in the boot.log
0
 
LVL 5

Expert Comment

by:garboua
ID: 6292289
I think you accepted an answer to this question somewhere else, Please delete this one
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now