Re: Removing old kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 also have the installonlyn limit bumped up if you want to 
automatically only keep n number of kernels.

# vim /etc/yum.conf
installonly_limit = n

Set n to the number you want to keep.

Regards,
Max
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux