[WBEL-users] Removing old kernel files

Ganeshram Iyer gri0941@exchange.uta.edu
Sat, 21 Aug 2004 17:55:43 -0500


Hello Paul,
Just wanted to confirm what you said. You asked to double check that the 
grub.conf file is pointing to the new kernel. Well this is my grub.conf 
file. I am not sureat what I am looking at here. Could you please help?

[root@misfit grub]# cat grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5
title White Box Enterprise Linux (2.4.21-15.0.4.EL)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-15.0.4.EL ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.21-15.0.4.EL.img
title White Box Enterprise Linux (2.4.21-15.0.3.EL)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-15.0.3.EL ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.21-15.0.3.EL.img
title White Box Enterprise Linux (2.4.21-15.EL)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-15.EL ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.21-15.EL.img

If I have the right kernel that I want then do I just issue the 
following commands?

rpm -e kernel-2.4.21-15.EL
rpm -e kernel-2.4.21-15.0.3.EL

Thanks
Ganesh
Paul wrote:

>On Wed, 2004-08-18 at 15:24, William Hooper wrote:
>  
>
>>david said:
>>    
>>
>>>Folks
>>>
>>>
>>>Since the original "respin-1", a revised and upgraded Kernel has appeared
>>> and works just fine.  All my systems have been rebooted and are using
>>>this new version.  To the best of my knowledge:
>>>
>>>Old kernel: 2.4.21-15.EL
>>>New Kernel: 2.4.21-15.0.4.EL
>>>      
>>>
>>[snip]
>>    
>>
>>>Is there some syntax in "yum" or "rpm" that will do this for me, safely?
>>>      
>>>
>>rpm -e kernel-2.4.21-15.EL
>>    
>>
>
>Before you do that double check the /boot/grub/grub.conf file to make
>sure it's pointing to the new kernel.
>
>Regards,
>Paul
>
>
>_______________________________________________
>Whitebox-users mailing list
>Whitebox-users@beau.org
>http://beau.org/mailman/listinfo/whitebox-users
>
>  
>