get rid of old kernels

Jeff Vian jvian10 at charter.net
Mon Apr 18 23:48:06 UTC 2005


On Mon, 2005-04-18 at 17:11 -0600, kwhiskers wrote:
> Don't forget to manually delete the /lib/modules/kernel-version
> directory.
> 

1.  Please don't top post.

2.  For your information, using rpm to erase the old kernel versions
does that for you (as well as modifying grub.conf and other things that
would be a nightmare to do manually).



> On 4/18/05, Jeff Vian <jvian10 at charter.net> wrote:
>         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 fedora-list mailing list