Removing old kernels

Shane Presley shane.presley at gmail.com
Tue May 31 13:39:03 UTC 2005


On 5/31/05, Ed Wilts <ewilts at ewilts.org> wrote:
> On Tue, May 31, 2005 at 02:03:48PM +0100, John O'Loughlin wrote:
> > You can use rpm -e to remove, just like any rpm. Just make sure you
> > remove the right one! uname -r shows you your current kernel.
> 
> To add to this:  NEVER remove your currently running kernel or the evil
> spirits will get you.
> 
> > Then edit grub.conf (you should do this amyway to make sure the kernel
> > the latest kernel is your default) and remove the sections associated
> > with the kernels you no longer have..
> 
> grub.conf will be updated automatically by rpm.  You should not have to
> edit any entries in it.
> 
> When you're done, don't forget to up2date -p
> to let the RHN know about your current configuration.
> 
>         .../Ed
>

Thank you both, that worked perfectly.  And yes, with rpm -e, I did
not have to edit grub.conf.

Shane




More information about the redhat-list mailing list