 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

14th November 2005, 06:41 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Location: Ontario, Canada
Age: 37
Posts: 12

|
|
|
Removing unneeded kernels
Hi all,
I am relatively new to Linux and currently running FC4. I have 2 kernel options and would like to get rid of one of them.
How do I go about doing this? I have searched the site but have not found any instructions yet.
Thanks for the help,
-Thornlord
|

14th November 2005, 06:45 PM
|
 |
Retired Community Manager
|
|
Join Date: Jul 2004
Posts: 1,335

|
|
|
Type "rpm -qa | grep kernel" and hit enter to see what you've got. The do "yum remove old_kernel_1 old_kernel_2 old_kernel-devel_1 old_kernel-devel_2" as root to remove the old kernels. (Of course subsitute the correct text from grep kernel for old_kernel and old_kernel_devel.)
Last edited by smfinley; 14th November 2005 at 06:48 PM.
|

14th November 2005, 06:49 PM
|
 |
Registered User
|
|
Join Date: Jun 2005
Location: Athens-Greece
Posts: 1,331

|
|
|
__________________
Drink more beer but never drive !!!
:) :p :eek:
|

14th November 2005, 06:52 PM
|
 |
Registered User
|
|
Join Date: Mar 2005
Location: England
Posts: 867

|
|
|
rpm -q kernel kernel-devel
is faster.
|

14th November 2005, 07:12 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Location: Ontario, Canada
Age: 37
Posts: 12

|
|
Thanks all, I will give these a try and will post if I have a problem.
|

14th November 2005, 07:16 PM
|
|
Registered User
|
|
Join Date: Sep 2005
Location: Baltimore, MD
Posts: 75

|
|
|
if you have synaptic configured, you can do it graphically as well
|

14th November 2005, 09:46 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Location: Finland
Posts: 5,076

|
|
|
Install the yum-utils package from Fedora Extras (yum install yum-utils), and do "package-cleanup --oldkernels".
|

15th November 2005, 12:51 AM
|
|
Registered User
|
|
Join Date: Feb 2005
Location: ark n saw out in the sticks
Posts: 2,316

|
|
|
the yum "package-cleanup" with yum-utils leaves the last 2 kernels as a default setting..
if ya install yum-utils do a
package-cleanup --help
for the list of commands available...
|

15th November 2005, 01:10 AM
|
|
Registered User
|
|
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 86
Posts: 1,657

|
|
|
I do like to keep two kernels on my machine. Just something to boot into if I wreck the current one.
Backup....
__________________
Ziggy
|

15th November 2005, 01:26 AM
|
|
Registered User
|
|
Join Date: Feb 2005
Location: ark n saw out in the sticks
Posts: 2,316

|
|
|
I fully concur with Zigzagcom--ya need a "backup" that has worked if the "newer" kernel pukes or you modify it to death or
doo-doo occurs....
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 17:30 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|