Removing a manually installed kernel

akonstam at trinity.edu akonstam at trinity.edu
Mon Jul 12 13:34:09 UTC 2004


On Sun, Jul 11, 2004 at 11:12:08PM +0100, James Wilkinson wrote:
> Patrick Boutilier wrote:
> > in /boot remove *<kernel version>* as well. This will get rid of any 
> > system.map and initrd files associated with the kernels you want to get 
> > rid of.
> 
> Do be careful, though. If you're like me, you might have these files.
> vmlinuz-2.6.5
> vmlinuz-2.6.5-1.358
> vmlinuz-2.6.5-1.358smp
> 
> Obviously, rm /boot/*2.6.5* will blow away all three.
> 
> This is why Red Hat has rm aliased to rm -i (ask questions) for root.
> 
> James.
> -- 
It seems to me a more effective method would be something like:
rpm -e  vmlinuz-2.6.5-1.358
whiuch would also remove the initrd fiel and update the grub.conf
file.
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam at trinity.edu





More information about the fedora-list mailing list