Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 10-15-2003, 04:31 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 18

Rep: Reputation: 0
how to remove old kernels?


i recently upgraded to RH9, and then i upgraded the kernel on top of that. (I figured I might as well do this while I was upgrading my video card)

anyways, I wanted to remove the old kernel. I remember it is like some rpm -e line, but I dont know where the original kernel source or rpm file is to remove it (since it was automatically installed during the RH9 upgrade)

any help is appreciated
Old 10-15-2003, 06:21 AM   #2
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30

use rpm -q kernel-version, rpm -q kernel-source this will id the kernels installed on your box via rpm. Once the version id u may use rpm -e kernel-version to remove it. The path to the source code is /usr/src



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
How to remove old kernels safely satimis Fedora 11 08-21-2004 09:06 AM
How do I remove old kernels from boot loader? XryanX Fedora 7 04-26-2004 12:30 PM
remove old kernels dvsOasis Slackware 1 02-14-2004 09:56 PM
Correct way to remove older, unneeded kernels? wytiger Fedora 7 01-16-2004 10:36 PM
How do I safely remove old kernels? Amerist Linux - General 4 11-02-2002 11:56 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:28 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