Ubuntu – How to Clean Up Ubuntu Grub Boot Menu After Upgrades

bootUbuntu

Recently I have installed Ubuntu 9.10 – the Karmic Koala – released in October 2009 .I upgraded using update manager many times. So each time I update it is adding one menu in boot screen like recovery mode. I have windows OS also. Right now in booting time it is listing around 10 bootmenu's. Windows OS goes to last line of the menu . How can I clear all the boot menu's except windows and ubuntu latest vesion?

Best Answer

Go into the synaptic package manager, and scroll down until you find linux-image-*

You can safely remove them all, except the one you booted from. (You can find that out by running 'uname -r' from the command line.

Also running 'sudo apt-get autoremove --purge' from the command line may detect the 'old' ones and automatically remove them.