On 11/9/05, iagosineiro@yahoo.es iagosineiro@yahoo.es wrote:
Is there any commad for eliminate old kernels from grub instead of edit manually grub.conf and eliminate the files from /boot?
Yum-utils includes a script called package-cleanup. Running "package-cleanup --oldkernels" will take care of this for you, without having to check kernel versions by hand.
You can get yum-utils from http://linux.duke.edu/yum/download/yum-utils/. It's also part of Fedora Extras; since it's a noarch package, you could probably just download the RPM from there and install it on a CentOS 4 box, although I haven't tried this.
Josh Kelley