LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-09-2005, 07:49 PM   #1
surfduke
Member
 
Registered: Sep 2003
Location: Orange County, CA
Posts: 71

Rep: Reputation: 15
Can I erase old kernals?


Bonehead 101 questions from a noober!

Quote:
#boot=/dev/hda
default=6
timeout=20
splashimage=(hd0,6)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.10-1.770_FC3)
root (hd0,6)
kernel /vmlinuz-2.6.10-1.770_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.10-1.770_FC3.img
title Fedora Core (2.6.10-1.770_FC3smp)
root (hd0,6)
kernel /vmlinuz-2.6.10-1.770_FC3smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.10-1.770_FC3smp.img
title Fedora Core (2.6.10-1.766_FC3)
root (hd0,6)
kernel /vmlinuz-2.6.10-1.766_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.10-1.766_FC3.img
title Fedora Core (2.6.10-1.766_FC3smp)
root (hd0,6)
kernel /vmlinuz-2.6.10-1.766_FC3smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.10-1.766_FC3smp.img
title Fedora Core (2.6.9-1.667smp)
root (hd0,6)
kernel /vmlinuz-2.6.9-1.667smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667smp.img
title Fedora Core-up (2.6.9-1.667)
root (hd0,6)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667.img
title winXP
rootnoverify (hd0,0)
chainloader +1
Can I erase all the old kerrnals? How do I do it?

Also, what's the the "smp" stand for? Why does one kernal line show it and not another. Thanks for the help
 
Old 03-09-2005, 08:09 PM   #2
Pudge
Member
 
Registered: Mar 2004
Distribution: Fedora Core 3, Arch Linux 0.7
Posts: 57

Rep: Reputation: 15
in a terminal window, as root

Code:
# rpm -q kernel
kernel-2.6.10-1.667_FC3
kernel-2.6.10-1.770_FC3
This lists all versions of the kernel on your system

Code:
# rpm -e kernel-2.6.10-1.667_FC3
Removes the old kernel from your system, cleans up grub.conf and removes lib files for that kernel. The kernel-2.6.10-1.667_FC has to be exactly as listed in the rpm -q kernel listing. Best to use copy/paste for that.

type in
Code:
#man rpm
to see what the -q and -e parameters do in the rpm command.

SMP refers to Symmetric Multiple Processors. SMP kernels are for mother boards with dual processors. You shouldn't have a mix of smp and regular kernels. You should have one or the other, not both.

Pudge

Last edited by Pudge; 03-09-2005 at 08:27 PM.
 
Old 03-09-2005, 08:26 PM   #3
surfduke
Member
 
Registered: Sep 2003
Location: Orange County, CA
Posts: 71

Original Poster
Rep: Reputation: 15
Worked great Pudge! Thanks for the lesson... I appreciate it!!!

Why do I have a mix of smp and regular listed?

Cheers!

Last edited by surfduke; 03-09-2005 at 08:28 PM.
 
Old 03-09-2005, 08:35 PM   #4
Pudge
Member
 
Registered: Mar 2004
Distribution: Fedora Core 3, Arch Linux 0.7
Posts: 57

Rep: Reputation: 15
Quote:
Originally posted by surfduke
Why do I have a mix of smp and regular listed?
If we were playing Who Wants To Be a Millionare? that would be the million dollar question.

I have no idea, that should never have happened.

Pudge
 
Old 03-10-2005, 03:48 PM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Quote:
Why do I have a mix of smp and regular listed?
Because either your system is a multi-processor system or you started with an SMP kernel installed. It's normal to have both kernel versions for SMP systems.
 
Old 03-10-2005, 05:43 PM   #6
surfduke
Member
 
Registered: Sep 2003
Location: Orange County, CA
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Because either your system is a multi-processor system or you started with an SMP kernel installed. It's normal to have both kernel versions for SMP systems.
I do not have a multi-processor system. I have an ASUS P4P800 With an Intel 2.4 800FSB, 1 ghz pc3500, the system is overclocked to 3.01 ghz.

That's it! Nothing fancy. The FC3 install was normal.
 
Old 03-10-2005, 06:04 PM   #7
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Hyperthreading also requires an SMP kernel
 
Old 03-10-2005, 06:31 PM   #8
Pudge
Member
 
Registered: Mar 2004
Distribution: Fedora Core 3, Arch Linux 0.7
Posts: 57

Rep: Reputation: 15
Quote:
Originally posted by misc
It's normal to have both kernel versions for SMP systems.
Quote:
Originally posted by misc
Hyperthreading also requires an SMP kernel
I din't know that. They say you learn something everyday, I just got my Quota for today.

Pudge
 
Old 03-10-2005, 07:06 PM   #9
surfduke
Member
 
Registered: Sep 2003
Location: Orange County, CA
Posts: 71

Original Poster
Rep: Reputation: 15
Great lesson! Thanks Guys!!!
 
Old 03-10-2005, 08:04 PM   #10
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
Also another good command is: yum clean
 
  


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
9.1 and new kernals Crayzie Mandriva 2 08-14-2004 01:19 PM
Why won't these kernals ever load? scout435 Linux - Newbie 7 01-13-2004 03:52 PM
Removing Old Kernals tjmmurray Linux - General 7 12-04-2003 06:41 AM
Changing Kernals dmann304 Linux - General 7 11-24-2003 06:33 PM
old kernals JoeC Linux - Newbie 5 10-31-2002 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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