LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2010, 08:55 PM   #1
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Rep: Reputation: 20
remove old kernel


hi guys,
i think this is the best linux forum.
i just install my vga driver and a new kernel also has been installed too,
this is my old kernel:
Code:
[Myself@localhost ~]$ rpm -qa | grep kernel.PAE
kernel-PAE-devel-2.6.33.3-85.fc13.i686
kernel-PAE-2.6.33.3-85.fc13.i686
and the new one:
Code:
[Myself@localhost ~]$ uname -r
2.6.33.6-147.fc13.i686
in order to remove my old kernel should i just do????
Code:
yum remove kernel-PAE-2.6.33.3-85.fc13.i686
nothing more??

thanks in advance

Last edited by z99; 07-15-2010 at 08:58 PM.
 
Old 07-15-2010, 09:05 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'd grep for "2.6.33.3-85" to see whether you have any source
or dev packages on top of the two you already spotted.



Cheers,
Tink
 
Old 07-15-2010, 09:07 PM   #3
lbrigman124
LQ Newbie
 
Registered: Jun 2006
Location: Oregon
Distribution: FC4-6,FC1,RH8-9, LFS,RHEL5, CENTOS5, Unbreakable5
Posts: 12

Rep: Reputation: 2
You are mixing the tools.

If you want to use yum then issue
yum list installed kernel\*

and then
use the output line from yum as the input for your
yum remove.
 
Old 07-15-2010, 09:18 PM   #4
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Original Poster
Rep: Reputation: 20
as you said thinkster there are more than 2:
Quote:
[Myself@localhost ~]$ rpm -qa | grep 2.6.33.3-85
kernel-headers-2.6.33.3-85.fc13.i686
kernel-PAE-devel-2.6.33.3-85.fc13.i686
perf-2.6.33.3-85.fc13.noarch
kernel-PAE-2.6.33.3-85.fc13.i686
so if i just remove all of them,will my new kernel work without any problem?[i just want to be sure]
 
Old 07-15-2010, 09:20 PM   #5
simon.sweetman
Member
 
Registered: Mar 2009
Posts: 32

Rep: Reputation: 22
You should do a quick check of /etc/grub.conf just to be sure the removed kernel has been cleaned up by yum properly.

Last edited by simon.sweetman; 07-15-2010 at 09:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I remove old kernel sources after kernel upgrade(to 2.6.17.13) on Slackware 11? ErV Slackware 7 05-04-2007 01:06 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 12:35 PM
Remove a kernel Regulus Linux - Software 6 01-04-2005 12:17 AM
Old Kernel remove? mikeshn Linux - General 3 08-03-2003 08:31 AM
remove kernel praveen_2003 Linux - Software 5 07-20-2003 01:53 AM


All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration