LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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 07:58 PM.
 
Old 07-15-2010, 08:05 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 08: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, 08: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, 08: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 08:26 PM.
 
  


Reply



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 12:06 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 11:35 AM
Remove a kernel Regulus Linux - Software 6 01-03-2005 11:17 PM
Old Kernel remove? mikeshn Linux - General 3 08-03-2003 07:31 AM
remove kernel praveen_2003 Linux - Software 5 07-20-2003 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 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
Open Source Consulting | Domain Registration