Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th November 2005, 06:41 PM
Thornlord Offline
Registered User
 
Join Date: Aug 2005
Location: Ontario, Canada
Age: 37
Posts: 12
Removing unneeded kernels

Hi all,

I am relatively new to Linux and currently running FC4. I have 2 kernel options and would like to get rid of one of them.

How do I go about doing this? I have searched the site but have not found any instructions yet.

Thanks for the help,
-Thornlord
  #2  
Old 14th November 2005, 06:45 PM
smfinley's Avatar
smfinley Offline
Retired Community Manager
 
Join Date: Jul 2004
Posts: 1,335
Type "rpm -qa | grep kernel" and hit enter to see what you've got. The do "yum remove old_kernel_1 old_kernel_2 old_kernel-devel_1 old_kernel-devel_2" as root to remove the old kernels. (Of course subsitute the correct text from grep kernel for old_kernel and old_kernel_devel.)
__________________
Stanton Finley
stanton-finley.net

Last edited by smfinley; 14th November 2005 at 06:48 PM.
  #3  
Old 14th November 2005, 06:49 PM
nlkrio's Avatar
nlkrio Offline
Registered User
 
Join Date: Jun 2005
Location: Athens-Greece
Posts: 1,331
go to this link http://forums.fedoraforum.org/showthread.php?t=17930
__________________
Drink more beer but never drive !!!
:) :p :eek:
  #4  
Old 14th November 2005, 06:52 PM
Twey's Avatar
Twey Offline
Registered User
 
Join Date: Mar 2005
Location: England
Posts: 867
rpm -q kernel kernel-devel
is faster.
__________________
Twey
  #5  
Old 14th November 2005, 07:12 PM
Thornlord Offline
Registered User
 
Join Date: Aug 2005
Location: Ontario, Canada
Age: 37
Posts: 12
Thanks all, I will give these a try and will post if I have a problem.
  #6  
Old 14th November 2005, 07:16 PM
such007 Offline
Registered User
 
Join Date: Sep 2005
Location: Baltimore, MD
Posts: 75
if you have synaptic configured, you can do it graphically as well
  #7  
Old 14th November 2005, 09:46 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Install the yum-utils package from Fedora Extras (yum install yum-utils), and do "package-cleanup --oldkernels".
  #8  
Old 15th November 2005, 12:51 AM
w5set Offline
Registered User
 
Join Date: Feb 2005
Location: ark n saw out in the sticks
Posts: 2,316
the yum "package-cleanup" with yum-utils leaves the last 2 kernels as a default setting..
if ya install yum-utils do a
package-cleanup --help
for the list of commands available...
  #9  
Old 15th November 2005, 01:10 AM
Zigzagcom Offline
Registered User
 
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 86
Posts: 1,657
I do like to keep two kernels on my machine. Just something to boot into if I wreck the current one.
Backup....
__________________
Ziggy
  #10  
Old 15th November 2005, 01:26 AM
w5set Offline
Registered User
 
Join Date: Feb 2005
Location: ark n saw out in the sticks
Posts: 2,316
I fully concur with Zigzagcom--ya need a "backup" that has worked if the "newer" kernel pukes or you modify it to death or
doo-doo occurs....
Closed Thread

Tags
kernels, removing, unneeded

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


Current GMT-time: 17:30 (Tuesday, 21-05-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