LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-02-2004, 05:04 PM   #1
nishmal
Member
 
Registered: Feb 2004
Location: Chicago
Distribution: RH9/trying FC2 & SuSE 9.1
Posts: 35

Rep: Reputation: 15
GRUB shows two linux kernel versions


I have just started using Red Hat Linux 9.0. I have two hard drives, One with Windows XP and other with Linux. I've successfully installed the system and then took updates from Red Hat website. Now i must have installed an earlier version of Linux kernel (2.4.20.1) but then redhat installed a new version (i.e 2.4.20-28.9). Now my GRUB shows these two versions along with Windows XP

How do i remove the older version from the GRUB?

(Its my first few days with Linux so i am having hard time even doing simple things)
 
Old 02-02-2004, 06:28 PM   #2
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 356

Rep: Reputation: 43
The newest kernel is probably selected by default on boot. It's ok to leave the old one there. If you are bugged by that, go to /boot/grub and edit grub.conf. remove the entry for the kernel you dont want to see. Also, go to /boot and remove the kernel image matching the version you don't want. But be sure everything runs fine for some time before doing these things.
 
Old 02-02-2004, 06:29 PM   #3
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
The setting is kept in
/boot/grub/grub.conf

To edit it, just do as root:

nano /boot/grub/grub.conf

You might also want to actually remove it from your /boot directory too (each one take 10-30 megs or so)
Just delete every file that has the number that you want delete in it. Make sure not to delete anything else (or.. you'll have a non working system )
 
  


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
Linux OS and kernel versions la_mafia63 Linux - General 4 05-10-2005 08:11 AM
GRUB Loader shows all the versions untfitch02 Red Hat 4 01-25-2005 10:09 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
Which Linux distros used kernel versions 2.2? Ma-fia Linux - Distributions 7 03-06-2004 10:43 AM
Redhat Grub 2 Linux versions? after update Zkorpio Linux - Newbie 3 11-18-2003 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:39 AM.

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