View Full Version : [ubuntu] Kernels

June 6th, 2008, 03:35 AM
Hear is my problem. When installing Ubuntu I had three goes before I could get 7.1 up and running. Now on my boot menu I have a clutter of kernels to choose from. (I also have xp installed)I would like to clean up mu Boot Menu. I have read from other posts that it can be done with Synaptic. Here I can see "remove unwanted boot options". How do I know that I am not removing the ubuntu that I have open? Does this make sense

June 6th, 2008, 03:47 AM
Rather than removing the kernels, it is preferable to keep them in case you need them one day, ie if an update makes your computer unbootable, you can then boot from an old kernel. You can 'uncomment' them in /boot/grub/menu.lst so that they don't appear on the start-up list.

sudo gedit /boot/grub/menu.lst find the kernels you don't want listed and place a # in front of the entries pertaining to that kernel version.

June 6th, 2008, 03:56 AM
Here is a newbie guide for what you might like to know about the kernel display. Options range from very simple to a bit harder. I wrote it yesterday ;-)

HOWTO: Grub Menu Kernel Display Options (http://ubuntuforums.org/showthread.php?t=818177)

June 6th, 2008, 04:36 AM
If you want to remove any old kernels and save some space on your hard drive, go to Synaptic Package Manger and search for linux-generic. There you can remove any old kernels that are not needed. Watch out that you don't remove the kernel that you are currently using!! The grub boot loader will automatically update to the changes made.