Old RH8 Kernel Uninstall Q

Bart Garst plug-discuss@lists.plug.phoenix.az.us
20 Mar 2003 13:19:11 -0700


That's a lesson I learned the hard way yesterday.

Thanks guys,
Bart

On Thu, 2003-03-20 at 13:03, Tom Ward wrote:
> I've found that with the newer outdated kernels uninstalling them with 
> "rpm -e [old kernel] even cleans up grub.conf.  I guess that's one reason 
> RedHat went to grub as the default boot loader.
> 
> And to Bart, you should alwasy use "rpm -i" to add new kernels, so you can 
> boot off the old one in case of a problem with the new one.
> 
> Regards,
> Tom 
> 
> On Thu, 20 Mar 2003, David A. Sinck wrote:
> 
> > 
> > 
> > The kernels are made so you can have multiple ones on the system
> > without upgrading.  Just -i it:
> > 
> > rpm -ivh kernel-newer
> > 
> > To remove older kernels that are unwanted, 'erase' them:
> > 
> > rpm -e kernel-old
> > 
> > You may or may not have to edit grub.conf, but that's easy.  
> > 
> > 
> > \_ SMTP quoth Bart Garst on 3/20/2003 08:50 as having spake thusly:
> > \_
> > \_ I have a question. How are you able to save the previous kernel versions? I
> > \_ do my updates with
> > \_ # rpm -Uvh kernel...
> > \_ and it doesn't save the older version (Makes for a real pain when the rpm
> > \_ install crashes).
> > \_ 
> > \_ Bart
> > \_ 
> > \_ 
> > \_ >>>
> > \_ I've been using RHN to keep my errata updated. Very smartly, the kernel
> > \_ updates preserve the previous kernels. Well, I'm starting to get a
> > \_ collection of them and I'm sure the kernels are starting to hog
> > \_ disk-space - or are they? Here's what I have:
> > \_ 
> > \_ rpm -q kernel
> > \_ kernel-2.4.18-14
> > \_ kernel-2.4.18-19.8.0
> > \_ kernel-2.4.18-26.8.0
> > \_ 
> > \_ There's yet another update available that I've yet to download. Their
> > \_ manual isn't clear on how to remove the old kernels and if the technique
> > \_ automatically updates Grub or if I have to manually edit the config
> > \_ file. Anyone mess with this?
> > \_ 
> > \_ Cheers,
> > \_ Mike
> > \_ 
> > \_ ---------------------------------------------------
> > \_ PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > \_ To subscribe, unsubscribe, or to change  you mail settings:
> > \_ http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > \_ 
> > \_ ---------------------------------------------------
> > \_ PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > \_ To subscribe, unsubscribe, or to change  you mail settings:
> > \_ http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change  you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > 
> 
> -- 
> Tom Ward
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss