Re: uninstalling a kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-20-03 at 18:15 -0500, Chethiya K Ranaweera wrote:
> Hello,
> I have installed several kernels. Can anyone please tell me the
> command to uninstall a kernel?

I got this response before that worked

-------- Forwarded Message --------
From: jim lawrence <fedorajim@xxxxxxxxx>
Reply-To: jim lawrence <fedorajim@xxxxxxxxx>, For users of Fedora Core
releases <fedora-list@xxxxxxxxxx>
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Subject: Re: Removing unwanted kernels
Date: Mon, 14 Mar 2005 07:33:03 -0500 
On Mon, 14 Mar 2005 07:31:03 -0500, David Niemi <drn_temp2@xxxxxxxxxx> 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@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
> 
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.
************************************



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux