Solved

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

Posted on 2001-06-28
4
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

726 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