LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2004, 09:46 PM   #1
mike270
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 63

Rep: Reputation: 15
Removing old kernels


I just upgraded to the new 2.6.7 kernel in FC2 and now I have three kernels installed, 2.6.5, 2.6.6 and 2.6.7. I would imagine it is safest to keep the two newest kernels loaded in case something goes wrong right? How do I go about deleting the old kernel I don't want anymore?

I am dual-booting with XP and I know I need to remove the old kernel from GRUB but how do I properly delete everything?
 
Old 08-06-2004, 09:50 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Easiest way to do it is through rpm...

"rpm -e kernel-2.6.5-blah-blah-blah"

You can check your /boot/grub/grub.conf to make sure it is removed from there afterwards.
 
Old 08-06-2004, 11:53 PM   #3
mike270
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 63

Original Poster
Rep: Reputation: 15
That did the trick. Removed the listing for the kernel from grub as well.

Thanks a lot!
 
Old 08-07-2004, 12:06 AM   #4
golpemortal
Member
 
Registered: Sep 2003
Posts: 156

Rep: Reputation: 30
Quote:
Originally posted by ranger_nemo
Easiest way to do it is through rpm...

"rpm -e kernel-2.6.5-blah-blah-blah"

You can check your /boot/grub/grub.conf to make sure it is removed from there afterwards.


is this how exactly to do this "rpm -e kernel-2.6.5-blah-blah-blah"

with the blah-blash-blah..............the reason I ask is because I'm a newbee and I need to do the samething.......


thanks
 
Old 08-07-2004, 01:34 AM   #5
mike270
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 63

Original Poster
Rep: Reputation: 15
You type in the exact version that you want to delete. For example if I wanted to delete the newest kernel I would type:

rpm -e kernel-2.6.7-1.494.2.2

I found the exact version numbers in /boot/grub/grub.conf but I dual-boot so I don't know if you have grub loaded as well. I am pretty new to Linux too so I still have a lot to learn.

EDIT: If you do have grub you need to be logged in as root to view it.

Last edited by mike270; 08-07-2004 at 01:36 AM.
 
Old 08-07-2004, 08:00 PM   #6
golpemortal
Member
 
Registered: Sep 2003
Posts: 156

Rep: Reputation: 30
Quote:
Originally posted by mike270
You type in the exact version that you want to delete. For example if I wanted to delete the newest kernel I would type:

rpm -e kernel-2.6.7-1.494.2.2

I found the exact version numbers in /boot/grub/grub.conf but I dual-boot so I don't know if you have grub loaded as well. I am pretty new to Linux too so I still have a lot to learn.

EDIT: If you do have grub you need to be logged in as root to view it.




thanks mike270 that did it...........
 
Old 08-07-2004, 10:05 PM   #7
mike270
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 63

Original Poster
Rep: Reputation: 15
 
  


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
Removing old kernels? carlosinfl Fedora 1 04-12-2005 10:58 AM
Removing old kernels dbzw Linux - Newbie 5 02-29-2004 01:01 PM
Re: Removing old kernels jong357 Linux - General 1 02-29-2004 08:54 AM
Removing old kernels dbzw Linux - General 1 02-29-2004 12:33 AM
removing kernels? rakriege Linux - Newbie 1 11-09-2003 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration