Removing old FC kernals

Jeff Vian jvian10 at charter.net
Mon Jul 3 16:22:11 UTC 2006


On Mon, 2006-07-03 at 13:35 +0200, Joachim Backes wrote:
> Andrew Wood wrote:
> > Hi,
> > 
> > I need to free-up some space on my computer to install FC5. I have about 
> > 14 images of the kernals in the boot directory - from FC3 onwards.
> > 
> > Can I simply delete these files from the boot directory - except for the 
> > most recent of course! Or is there some tool I'm supposed to use to do 
> > this cleanly? Actually, which files can I delete that correspond with 
> > each image - just to be thorough.
> > 
> > Thanks for you help,
> > 
> > Andrew
> > 
> > 
> 
> yum erase kernel-... [kernel-...] ...
> 
do an rpm -qa kernel\* to get the list of kernel (and kernel-devel)
packages complete with version numbers the way rpm sees them.

then for each kernel listed do an rpm -e kernel-<version>
The same procedure should be used for each kernel-devel package you have
installed.

> 
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the fedora-list mailing list