Welcome to the most active Linux Forum on the web.
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 10-27-2003, 04:28 PM   #1
Registered: Sep 2003
Location: Houston
Distribution: Red Hat 9
Posts: 36

Rep: Reputation: 15
Kernel Updated...but what about old Kernel?

My RH9 Up2Date utility updated my Kernel automatically. And I have a dual boot XP/RH9. So on GRUB sceen it shows both the Kernels and everytime I have to select the Kernel I want to load. Is there a way to remove the Kernel from that list? And since I am new to Linux, I am in no position to compare the two Kernels and experiment on their cpabilities. So can I delete the old Kernel (if that makes sense) and does it occupy any extra space on the hard disk?
Old 10-27-2003, 04:38 PM   #2
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
To remove your old kernel do a simple 'rpm -e'
Do a 'rpm -qa | grep kernel' if you don't know the name of the package(s) (you may have source too).

So you would rend up with something like 'rpm -e kernel-2.4.bunchofnumbers'

It doesn't take up too much space to have 2 kernels, but everything takes up space, so yes.

To get rid of the previous kernels from the boot loader you will need to edit your conf file. ie 'vi lilo.conf' or 'vi grub.conf'

You just take out the lines that involve you old kernel, it isn't too hard at all, but if you're not quite sure which lines to remove just reply...


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
urpmi updated kernel source but not the kernel itself(??) tredegar Mandriva 5 02-15-2005 03:27 AM
Can't get updated kernel Groller Linux - Newbie 2 08-02-2004 01:14 PM
Updated kernel-source but no kernel? craigl Mandriva 2 05-01-2004 12:32 PM
kernel-update, a success... BUT... couldn't boot from the updated-kernel Pisces107 Red Hat 7 12-17-2003 03:27 PM
updated kernel from mandrake update? paradoxni Mandriva 1 10-31-2003 03:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 AM.

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