[CentOS] Removing old kernels
John R Pierce
pierce at hogranch.com
Wed Jun 3 18:46:26 UTC 2009
Frank M. Ramaekers wrote:
> Running Transaction
> Erasing : kernel
> [1/1]
>
> Removed: kernel.i686 0:2.6.18-92.1.18.el5
> Complete!
>
> That seemed to work, but I still have some 92.1.18 elements left:
> ls -l /boot/*92.1.18*
> /boot/config-2.6.18-92.1.18.el5debug
> /boot/config-2.6.18-92.1.18.el5PAE
> /boot/config-2.6.18-92.1.18.el5xen
the debug, PAE, and xen kernels are from different packages. To see
what all is actually installed on your system, you just might do...
# rpm -qa |grep ^kernel
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-2.6.18-128.1.6.el5
kernel-devel-2.6.18-92.1.22.el5
kernel-devel-2.6.18-128.1.6.el5
kernel-headers-2.6.18-128.1.6.el5
in your case, I'd likely do...
# yum erase kernel-PAE-2.6.18-92.1.18 kernel-debug-2.6.18-92.1.18
kernel-xen-2.6.18-92.1.18
More information about the CentOS
mailing list