Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

840 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