APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > removing kernels
Printer Friendly Version




News Group Posts

removing kernels




From: Dave Abbott <d.abbott@dcsNOSPAM.shef.ac.uk>
Subject: Re: Too many kernels, need to remove some
Date: Thu, 04 Dec 2003 10:16:34 +0000
Message-ID: <pan.2003.12.04.10.16.33.566194@dcsNOSPAM.shef.ac.uk> 
References: <c9bc36ff.0312032228.3425a04d@posting.google.com> 


On Wed, 03 Dec 2003 22:28:40 -0800, Ramon F Herrera wrote:



> I have several servers registered to the RHN, and I have been
> connecting and upgrading them periodically.  When I first
> install RedHat I figure that a 300-500 kB root partition
> is large enough, but it turns out that I cannot upgrade
> some servers, because of lack of space in the root partition.
> 
> I don't really need to keep 6 kernels (and ancilliary files) around
> but what's the recommended/safe procedure to remove them?
> 

Unlike most rpms, kernels tend to be installed rather than
upgraded. So you need to uninstall the ones you are no longer
using. I usually leave the last known good set of kernel
and kernel-smp rpms

Use uname -a to make sure you are actually running the
latest kernel - you may need to edit /etc/grub.conf and
reboot...

Issue rpm -qa | grep kernel and then rpm -e  to remove
unwanted kernels.

HTH,

Dave














-- 
Dave Abbott, UNIX SysAdmin       | 
Department of Computer Science   | http://www.dcs.shef.ac.uk/
The University of Sheffield      |


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Auto FTP Manager

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here