Clean up Ubuntu old grub boot menu after upgrades

This post was written by admin on July 7, 2009
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.

snapshot121

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.

snapshot120

Related posts:

  1. Change the Grub menu timeout in ubuntu
  2. Set Windows as Default OS in Grub
  3. 3 Ways Setting XP/Vista/Windows 7 as default bootup OS In Grub 2
  4. Boot up ubuntu directly without loading grub menu
  5. Fix Windows when boot files (boot.ini,NTLDR)are missing

    Tags:

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address