LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2003, 10:04 AM   #1
aetengoku
LQ Newbie
 
Registered: Mar 2003
Posts: 20

Rep: Reputation: 0
grub and two kernel choices


i am running redhat 7.3. when grub comes up it gives me two choices for kernels. it happened after i used redhat up2date.
the two kernels are 2.4.18-27.7.x and 2.4.18-27.3
is this normal and how do i get rid of the older kernel

thanks for your help
 
Old 04-04-2003, 10:36 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Yes, it's normal... When you up2date a system, and they give you a new kernel, it keeps the old one(s) for safety reasons. If the new kernel doesn't work, then you can always fallback to the old one.

I wouldn't remove it. It's only taking up a couple megabytes of disc space. It might come in handy some day. If it was a different kernel version, such as 2.4.18 to 2.4.19 or .20, then you would also have a directory in your /lib/modules that would be for your old kernel. Since they're both 2.4.18, then all you should have there is /lib/modules/2.4.18 . My stock 2.4.20-8 for RH9 uses 29MB in it's modules directory, because the stock kernel has nearly all the options set as modules, so it can be used with a ton of hardware.

If you do want remove it, you can, as long as the new kernel runs properly. Open your lilo.conf or grub.conf, depending on which you use, and look at the files the entry for the old kernel uses in /boot . Most likely...

initrd-2.4.18-27.3.img
System.map-2.4.18-27.3
vmlinuz-2.4.18-27.3

Make sure they are different than the ones used by the new kernel. You can then delete the entry for the old kernel out of the lilo or grub .conf, and then the corresponding files in /boot .
 
Old 04-04-2003, 10:40 AM   #3
aetengoku
LQ Newbie
 
Registered: Mar 2003
Posts: 20

Original Poster
Rep: Reputation: 0
thanks for the info
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
All These Choices? Dr-Cipher Linux - Newbie 4 11-18-2005 11:26 AM
RHEL 4 Installer Choices: I want to see the packages associated with these choices. tacoshell Red Hat 2 05-05-2005 04:34 PM
Choices Parradux Slackware 5 12-23-2004 08:53 AM
Two choices created for Fedora Core in Grub thegreatnorth Linux - General 1 12-14-2003 08:57 PM
Choices, choices ... what shall I start with? rtuckwell Linux - Newbie 5 01-25-2003 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration