Clean up Ubuntu old grub boot menu after upgrades
This post was written by admin on July 7, 2009
Posted Under: General
Posted Under: General
Ubuntu always adds new items into the grub without removing the old ones after upgrades.If you have this problem and want to clean up old entries from your grub menu,this tutorial may helps.
Edit the file /boot/grub/menu.lst by following command in terminal:
sudo gedit /boot/grub/menu.lst
Find out the line which says “#howmany=all”,change it to “#howmany=1″.Close and save the file.Next time grub menu boots up,the newest kernel lines will be shown.
If you just want to deleteĀ the one entry in grub menu,also in the above file find the section start as “## End Default Options##”,find out the part and delete it.
Related posts:
- Boot up ubuntu directly without loading grub menu
- Change the Grub menu timeout in ubuntu
- Add Windows into grub menu after install Ubuntu
- Decorate Grub 2 boot loader using BURG
- How to restore Grub 2 after reinstalling Windows XP/Vista/Win7
Tags: grub



Reader Comments
ubuntu 10.04
I’ve tried sudo gedit /boot/grub/menu.lst
but it opens an empty file in gedit and not in the terminal. I want to delete an old option after upgrade
[Reply]