I've been using dual boot on my PC for some time now, to use Ubuntu along side with Windows 7. One very disturbing thing happens, when Ubuntu linux core gets updated (this happens once in a while). They are added as options to the grub menu so, my boot menu now looks like this:
Ubuntu, with linux 2.6.35-27 generic
Ubuntu, with linux 2.6.35-27 generic (recovery mode)
Ubuntu, with linux 2.6.35-25 generic
Ubuntu, with linux 2.6.35-25 generic (recovery mode)
Ubuntu, with linux 2.6.35-24 generic
Ubuntu, with linux 2.6.35-24 generic (recovery mode)
Ubuntu, with linux 2.6.35-22 generic
Ubuntu, with linux 2.6.35-22 generic (recovery mode)
Memory test
Windows 7
This gets very annoying, because I want to load windows by default, but after every update it shifts down and I have to go to grub config and change the default option.
My question: How to get rid of older versions of linux in the grub menu and leave only the newest one?