[CentOS] Removing old kernels

Steve Huff shuff at vecna.org
Wed Jun 3 17:48:35 UTC 2009

On Jun 3, 2009, at 1:40 PM, Frank M. Ramaekers wrote:

> I have the following kernels on my /boot:
> 2.6.18-128.1.6
> 2.6.18-92.1.18
> 2.6.18-92.1.22
> I'm low on /boot space and need to remove the oldest version.  It
> appears that I cannot use yum to remove since all of the versions are
> the same (only the release is different).  I believe that I can use  
> rpm
> to remove the old version, but I also need to remove them from the
> grub.conf.   Any other considerations and/or methods?

you can indeed use yum to remove them; why would you think you could  

$ sudo yum remove kernel-2.6.18-128.1.6.el5 kernel- 
devel-2.6.18-128.1.6.el5 kernel-2.6.18-92.1.18.el5 kernel- 
devel-2.6.18-92.1.18.el5  kernel-2.6.18-92.1.22.el5 kernel- 


If this were played upon a stage now, I could condemn it as an  
improbable fiction. - Fabian, Twelfth Night, III,v

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2209 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090603/4028deee/attachment.p7s>

More information about the CentOS mailing list