LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-12-2004, 01:17 PM   #1
r.stiltskin
Member
 
Registered: Oct 2003
Location: USA
Distribution: xubuntu
Posts: 186

Rep: Reputation: 21
old kernels never die?


just kidding...

I've updated my Red Hat 9 kernel twice using up2date (which worked without any problems), so now grub gives a choice of 3 versions to boot.

What is the proper way to uninstall one of the old versions (kernel and kernel-source)?
 
Old 01-12-2004, 01:25 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
same as any rpm.. "rpm -e packagename" i'd recommend manually editing the grub.conf to avaoid any nasty changes you don't know about.
 
Old 01-12-2004, 05:13 PM   #3
r.stiltskin
Member
 
Registered: Oct 2003
Location: USA
Distribution: xubuntu
Posts: 186

Original Poster
Rep: Reputation: 21
so is it:

rpm -e kernel-2.4.20-8
and
rpm -e kernel-source-2.4.20-8
and that will remove all the related files?

And then delete the corresponding 4-line entry out of grub/conf?

That's all?
 
Old 01-12-2004, 07:29 PM   #4
drknow
Member
 
Registered: Jan 2004
Distribution: Shrike (RH9)
Posts: 73

Rep: Reputation: 15
Dont even remove the kernel....Its good to have it around anyways. Just take it out of your grub.conf and it will be as if its not there. If space is an issue, using those commands should do the trick in removing the kernel files. I dont know if it will remove anything you might need, so you may mess something up by doing that.
 
  


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
Die Miva, Die! Apache Woes, Cannot kill Miva linchat Linux - Software 3 09-16-2005 08:03 PM
Die, lotus notes, die (sorry for ranting) slackist General 10 01-10-2005 10:42 AM
Die Caps lock Die! tfdml37 Linux - General 1 06-26-2004 02:00 AM
Is my harddrive going to die? jpc82 Linux - Hardware 5 10-08-2003 11:23 AM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 10:46 PM


All times are GMT -5. The time now is 07:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration