Home · Compatibility Lists · Support Forums · FAQ · News Archive · Articles · Submit News/Upcoming News
Linux Compatible
advertisement


Forum overview » General Linux » How do I Remove? (1/1)

Reply New Poll

How do I Remove?
Author Message
Justbill
Senior Member


Posts: 171
From: House Springs, Mo. USA
Joined: 2005-01-23
Member No.: 56609
Icon 2005-10-20 22:59:31

I just downloaded and installed the most recent kernel for FC4. I now have 4 kernels in my grub menu, and in my computer as well. Now , going with the philosophy that "if 1 is good, 2 MUST be better" , 4 seems a little exessive! Could someone explain to me how to find and remove these "extra" kernels that I have, but most likely really don't need. This is the one thing I really liked about SuSE, it automatically removed source packages after an update. I am using yum for my updater, up2date just didn't work real well for me.

Many Thanks
Justbill

Post #167249
Edit Quote Print Solution Plonk Delete
danleff
Moderator


Posts: 2365
From: Albany, NY
Joined: 2002-08-30
Member No.: 12718
Icon 2005-10-21 11:00:16

The extra entries are left in Grub, in case the new kernel does not boot for some reason. You can edit the /boot/grub/menu.lst file to either comment out the entries that you do not want, or delete them. I would comment out the lines, in case you make an error editing. I would leave the failsafe entries intact, in case you ned to recover or troubleshoot any issues later on.

When you have FC4 up, make sure that you know what the current kernel is that you are running. Type in uname -r and make note of the current kernel.

Comment out the lines in the menu.lst file for the grub entries that you want out, starting with the "title" line, like such;

#title.....
#kernel (hd0,0)/boot/vmlinux (the kernel version to comment out)
#initrd (hd0,0)....

On your next grub boot, these lines will be ignored.

Post #167268
Edit Quote Print Solution Plonk Delete

Related Threads RSS


Reply New Poll

Forum overview » General Linux » How do I Remove?

Legend
View   View profile
Solved   Mark this post as solution (topic starter only)
Quote   Reply with quote to post
Edit   Edit post
Delete   Delete post (admin only)

Moderator: Open / Close / Bump / Delete / Move / Merge

All products mentioned are registered trademarks or trademarks of their respective owners.
© 2002-2009 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Website powered by Esselbach Storyteller CMS System