Clean Up Ubuntu Grub Boot Menu After Upgrades

One of the things in Ubuntu that has always driven me crazy is the addition of new items into the grub menu without removing the old entries that likely don’t even work anymore. I’m sure most experienced Ubuntu users already know how to do this, but here’s the method anyway.



To remove these entries, we’ll need to edit the file /boot/grub/menu.lst. You can do this by using Alt+F2 and then typing in the following command:
gksu gedit /boot/grub/menu.lst
Now that we’ve got the file open, scroll down to the bottom of the file where it says “End Default Options”, and you’ll find all the menu entries for the various kernels in here. You can just select and delete the ones you don’t want.
Save the file, and then the next time you boot up you’ll see a much nicer set of options.
Hope this helped in reducing your grub size………………This is applicable only upto distro’s like jaunty9.04 which are using grub..

Advertisements

3 thoughts on “Clean Up Ubuntu Grub Boot Menu After Upgrades

  1. Hi friend, Which Ubuntu Version is this?.Am using Karmic. Does this command suites all versions?When i typed "gksu gedit /boot/grub/menu.lst", what i got is a blank file.Please do a reply..

  2. this tutorial is only applicable upto jaunty9.04 bcoz they are using grub..now in karmic we are using grub2 which is a modified version so no need to edit instead of menu.lst it is having grub.cfg which is automatically generated during each update so no clean up is needed grub.cfg is not meant to be edited…..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s