LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-27-2003, 04:28 PM   #1
ravykanth
Member
 
Registered: Sep 2003
Location: Houston
Distribution: Red Hat 9
Posts: 36

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


Hi,
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
Awatto
Member
 
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...
 
  


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


All times are GMT -5. The time now is 08:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration