How to get rid of multiple linux versions in grub boot menu

Posted by Silver Light on Ask Ubuntu See other posts from Ask Ubuntu or by Silver Light
Published on 2011-03-04T11:10:56Z Indexed on 2011/03/04 15:33 UTC
Read the original article Hit count: 212

Filed under:
|
|

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?

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about grub