GRUB and the list of kernels
Posted 07 November 2005 - 07:51 AM
I have grub installed and I have WinXP and Fedora installed. When I first installed Fedora, my grub loader only had 2 options, fedora, and windows. Every time i update the kernel though, it adds another option to my grub loader.
Is there a way to get rid of the old kernels on the loader, so I only have the latest kernel as an option?
Posted 07 November 2005 - 08:39 AM
If that doesn't work, you could just edit the /boot/grub/menu.lst file, removing references to any kernel you're not interested in booting. Be careful about such fixes, as if you do something wrong, it could be catastrophic.
Posted 07 November 2005 - 08:49 AM
You can just go into the /boot/grub/menu/lst file and comment out the entries for the older kernels, once you know the newer ones work,
Each kernel update gets named in the list.
Use your favorite editor as root user. Just comment out the lines that point to the older kernel by placing a # in front of that series commands. So, say you want want to comment out the first entry;
#title Fedora older kernel
title Fedora newer kernel
Each section starts with the [b]title[b], so make sure you don't comment out a command listed for the next kernel entry.