Wednesday, October 12, 2016

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





Possible Duplicate:
Is there a way to remove/hide old kernel versions?






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?



With Ubuntu Tweak is the easiest way to remove old kernel images.



Here is a tutorial http://www.ubunturoot.com/2010/03/how-to-remove-old-kernel-images-in-grub.html


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...