[CentOS] Eliminate old kernels

Karanbir Singh mail-lists at karan.org
Wed Nov 9 12:31:26 UTC 2005

iagosineiro at yahoo.es wrote:
> Hi.
> Is there any commad for eliminate old kernels from grub instead of edit 
> manually grub.conf and eliminate the files from /boot?

yum erase kernel-<version>-<release>.{arch}

on its way out, it will clean up the lilo.conf and/or grub.conf as you 
have setup.

- K
Karanbir Singh : http://www.karan.org/ : 2522219 at icq

More information about the CentOS mailing list