Removing unwanted kernels

jim lawrence fedorajim at gmail.com
Mon Mar 14 12:33:03 UTC 2005


On Mon, 14 Mar 2005 07:31:03 -0500, David Niemi <drn_temp2 at rogers.com> wrote:
> What is the best way to get rid of many of the old and non-working
> kernels out of Grub?  Sure, I could go in as root hacking up Grub and
> blowing away files but I know this isn't too good an idea :)
> 
> Here is a list of my kernels:
>   [me at Jenny grub]$ rpm -qa | grep kernel
>   kernel-smp-2.6.9-1.667
>   kernel-smp-2.6.10-1.770_FC3
>   kernel-smp-2.6.10-1.741_FC3
>   kernel-smp-2.6.10-1.760_FC3
>   kernel-smp-2.6.10-1.766_FC3
>   kernel-utils-2.4-13.1.49_FC3
>   kernel-2.6.10-1.760_FC3
>   kernel-2.6.10-1.766_FC3
>   kernel-2.6.9-1.667
>   kernel-2.6.10-1.741_FC3
>   kernel-2.6.10-1.770_FC3
> 
> The kernels were installed via up2date and I have read through the
> fedoranews page for "yum-remove" at:
> http://fedoranews.org/tchung/yum-remove/
> 
> Would that be the proper procedure to remove the extra kernels or just
> use "rpm -e kernel..." as I found elsewhere.
> 
> Thanks
>  Dave
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
Yes  rpm -e kernel version 

So a Example would be 

rpm -e kernel-smp-2.6.9-1.667     

& you can do more than 1 at a time 
  
rpm -e kernel-smp-2.6.9-1.667 kernel-2.6.9-1.667     

because you have the smp & other version, you may have to do the latter example 

-- 

Jim Lawrence
Registered Linux User: #376813
********************************************************
When I'm feeling down, I like to whistle. 
It makes the neighbor's dog run to the end of his chain and gag himself.
************************************




More information about the fedora-list mailing list