Solved

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

Posted on 2001-06-28
4
149 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

861 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

22 Experts available now in Live!

Get 1:1 Help Now