Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > The Dungeon > Archived (Click Header To See Sub-Forums) > Alpha - Beta (Fedora 9 Only)
FedoraForum Search

Forgot Password? Join Us!

Alpha - Beta (Fedora 9 Only) Post Development Version comments and questions that don't belong in Bugzilla here. These posts will be moved or deleted once the Final version is released

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th April 2008, 09:19 PM
xploder Offline
Registered User
 
Join Date: Feb 2007
Posts: 55
How can I safely remove the old kernel?

How can I safely remove the 2.6.25-0.234.rc9.git1.f9.i686 kernel?

The newer kernel works fine and I want to remove the old one without messing anything up.
  #2  
Old 30th April 2008, 09:50 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371
Hello:
It's a good idea to keep at least 2 kernels installed at any one time in case something goes wrong with the one.

That being said, you can remove the kernel with

yum remove kernel-2.6.25-0.234.rc9.git1.f9.i686

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
  #3  
Old 30th April 2008, 09:59 PM
19bab79 Offline
Registered User
 
Join Date: Apr 2008
Posts: 26
you can also use your add/remove software option and do a search for linux image or kernel. this will list all available kernels. there you can select the one you want for removal.

Last edited by 19bab79; 30th April 2008 at 10:02 PM.
  #4  
Old 30th April 2008, 11:12 PM
xploder Offline
Registered User
 
Join Date: Feb 2007
Posts: 55
Thanks for the responses and the advice!
  #5  
Old 30th April 2008, 11:15 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello everybody,

One other thing to mention along these lines is how to change how many kernels are retained by Fedora before it removes the oldest one. Edit the yum configuration file, /etc/yum.conf, and change the value of installonly_limit.
Code:
[root@localhost ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=2
But I second the notion of keeping at least one old kernel (the Fedora default) because someday and for some reason you will be glad an old kernel is still there after an update. Besides, the kernel and kernel-devel packages themselves are around 22 MB. That's probably just a fraction of what your Internet cache is right now.
  #6  
Old 30th April 2008, 11:32 PM
xploder Offline
Registered User
 
Join Date: Feb 2007
Posts: 55
I was not able to remove the old kernel because it wanted to take other packages with it.
  #7  
Old 13th July 2008, 10:58 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
Quote:
Originally Posted by Seve
Hello:
It's a good idea to keep at least 2 kernels installed at any one time in case something goes wrong with the one.

That being said, you can remove the kernel with

yum remove kernel-2.6.25-0.234.rc9.git1.f9.i686

Seve
I've been looking for a solution to remove a kernel for so long. Thanks.
__________________
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux
 

Tags
kernel, remove, safely

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I safely remove Ubuntu??? shahdharmit Using Fedora 12 24th September 2009 04:13 AM
after upgrading kernel, how to safely remove the old one FedorLinu Installation and Live Media 5 29th September 2008 07:02 PM
ipod safely remove FC 5 Simoo Hardware & Laptops 2 5th April 2006 01:59 PM
How to remove old kernels safely satimis Using Fedora 15 31st August 2004 03:48 PM


Current GMT-time: 21:31 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat