Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-28-2003, 02:52 AM   #1
Registered: Jun 2003
Location: Bogota, Colombia
Distribution: Red Hat 8, knoppix, Xandros
Posts: 51

Rep: Reputation: 15
Unhappy Why does my grub show me both kernels at startup?

Please Someone help me !!

I am really a newbie on this. I had install Red Hat 8. Well, i suscribed to up2date and I upgraded my kernel. Now I'am supossed to have 2.4.20-18.8. Why does the old one and the new one are on the Grub O.S selection ?

I thought it will just appeared the new one..

Can Someone help me with this?

Old 06-28-2003, 06:30 AM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
In /boot/grub/grub.conf you will probably have two different sections that looks something like this:

title Red Hat Linux (2.4.20-18.9)
root (hd0,1)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-18.9.img

title Red Hat Linux (2.4.20-13.9)
root (hd0,1)
kernel /vmlinuz-2.4.20-13.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-13.9.img

Each one represents a different kernel. If you don't want a kernel to show up at boot then you can erase(or better yet, comment out) all the lines in grub.conf . So in the example above, if you don't want the 2.4.20-13.9 kernel to show up you would change your grub.conf to this:

title Red Hat Linux (2.4.20-18.9)
root (hd0,1)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-18.9.img

#title Red Hat Linux (2.4.20-13.9)
# root (hd0,1)
# kernel /vmlinuz-2.4.20-13.9 ro root=LABEL=/ hdc=ide-scsi
# initrd /initrd-2.4.20-13.9.img

Now when you reboot it won't show up anymore.
Old 06-28-2003, 06:31 AM   #3
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
It's not as such a problem, it's for your convenience and to make it easy - if the new one causes problems you can boot to the old one.

Comment out the old one in /boot/grub/grub.conf if you don't want to see it or you can delete the entries and your old version in boot if you really want to.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
two kernels on startup unionjak Ubuntu 1 11-30-2005 09:33 AM
New Kernels No XP in Grub short101 Debian 8 08-29-2004 04:03 AM
removing kernels from grub buffed317 Fedora 8 07-08-2004 10:55 AM
now i have 2 Grub kernels why? pleasehelp Linux - Newbie 2 03-31-2004 10:59 AM
Grub with two Kernels gr33ndata Linux - Software 3 09-24-2003 05:23 PM

All times are GMT -5. The time now is 06:25 PM.

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