get rid of old kernels

Jeff Vian jvian10 at charter.net
Mon Apr 18 22:37:10 UTC 2005


On Mon, 2005-04-18 at 11:22 -0500, Langer, Christian wrote:
> I installed the latest fc3 kernel and would like to get rid of the old
> one to save disk space; does anyone know how to do that?
> 
> Chris Langer
> 
> 
to list all the kernels installed do:

[jeff at eye_gore ~]$ rpm -qa kernel
kernel-2.6.10-1.770_FC3
kernel-2.6.11-1.14_FC3
kernel-2.6.9-1.667


To erase the one you want removed do:

[jeff at eye_gore ~]$ su -c "rpm -e kernel-2.6.9-1.667"
Password:
[jeff at eye_gore ~]$

Repeat for each kernel version to remove.

As someone has already said it has been discussed several times, but for
this use, rpm is much nicer than yum.






More information about the users mailing list