Share your brilliance with the world by clicking the Add a Tip button... write a tip and win money!

Tip Details Add a Related Tip

Rate as: Positive Negative

Cleaning up the Grub boot menu in Ubuntu

The grub boot menu in Ubuntu can become pretty crowded over time with older version of the kernel. When you update Ubuntu, older version are not automatically cleaned out of the grub boot menu. But if you want, it's pretty easy to clean out the older, or unused, entries from the grub boot menu.

The entries that are shown in the grub boot menu are contained in the file /boot/grub/menu.lst. To clean up grub, you just need to edit this file and remove the old entries. When editing this file, you need to do this as root. You can either use sudo on the command line to edit the file, or you can use gksu to edit this in your desktop environment. As an example, from the command line you could type: sudo vim /boot/grub/menu.lst. From the desktop you could press Alt + F2 to get the Run menu and then type: gksu gedit /boot/grub/menu.lst.

Either way, once you are editing the file, you want to look for the line that reads:

## ## End Defaults Options ##

Once you find this line, there will be sections that follow and each section represents one line in the grub boot menu. It's very easy to determine which section represents which line in the boot menu by looking at the title attribute. Once you decided which sections you want to remove from the grub boot menu, delete them and save the file. Next time you boot up, you'll have a nice clean screen in grub.
Rating: 100% positive, 1 Vote
Categories: ubuntu grub
Added: on Sep 06, 2007 at 6:41 am
Added By: grrreat!

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Restore grub after installing windows

94% positive, 1 comment - last added on Apr 19, 2007 at 2:49 pm
– Tip added by an anonymous user on Mar 08, 2007 at 4:06 pm

Adjusting the GRUB selection time

Categories: linux grub ubuntu
100% positive, 0 comments
– Tip added by an anonymous user on Jul 29, 2007 at 6:16 am

restoring grub

100% positive, 0 comments
– Tip added by an anonymous user on Apr 25, 2007 at 6:50 am

Turn off the system beep in Ubuntu

Categories: ubuntu Computers
100% positive, 1 comment - last added on Feb 19, 2008 at 5:21 pm
– Tip added by grrreat! on Jul 19, 2007 at 2:05 pm

Speed up OpenOffice in Ubuntu

Categories: ubuntu OpenOffice speed
100% positive, 0 comments
– Tip added by an anonymous user on Jun 21, 2007 at 4:15 pm

Setting the behavior when the lid is closed on your Ubuntu laptop

100% positive, 0 comments
– Tip added by an anonymous user on May 02, 2008 at 4:07 pm

Play DVDs on Ubuntu

Categories: ubuntu DVDs movies totem
100% positive, 0 comments
– Tip added by matesh on Feb 03, 2008 at 9:30 am

Automatic logins on Ubuntu

Categories: ubuntu linux security
100% positive, 0 comments
– Tip added by an anonymous user on Oct 04, 2007 at 1:17 pm

Dual booting Vista and Ubuntu

Categories: windows Vista linux ubuntu
100% positive, 0 comments
– Tip added by an anonymous user on Jul 03, 2007 at 8:53 am

Easily check Gmail in Ubuntu

Categories: ubuntu google mail GMail
100% positive, 0 comments
– Tip added by an anonymous user on May 28, 2007 at 3:08 pm

Increasing the screen resolution when running Ubuntu under Parallels on the Mac

Categories: Mac ubuntu parallels
100% positive, 1 comment - last added on May 23, 2007 at 11:55 am
– Tip added by an anonymous user on May 13, 2007 at 4:53 pm

Putting a trashcan on the desktop in Ubuntu

Categories: ubuntu
100% positive, 0 comments
– Tip added by an anonymous user on May 13, 2007 at 9:03 am

Managing your iPod in Ubuntu

Categories: ubuntu ipod music
100% positive, 0 comments
– Tip added by an anonymous user on Apr 30, 2007 at 7:44 pm

Importing raw images into gimp

100% positive, 0 comments
– Tip added by an anonymous user on Apr 23, 2007 at 3:56 pm

Grouping windows in Ubuntu

no ratings, 0 comments
– Tip added by an anonymous user on Feb 10, 2008 at 8:12 am

Tweaking Ubuntu

no ratings, 0 comments
– Tip added by an anonymous user on Jan 28, 2008 at 8:47 pm

Slow Katapult searches

Categories: ubuntu search
no ratings, 0 comments
– Tip added by an anonymous user on Sep 22, 2007 at 7:08 am

Context highlighting in nano

no ratings, 0 comments
– Tip added by an anonymous user on Aug 05, 2007 at 8:17 am

Monitor network traffic in Linux

Categories: linux ubuntu Gentoo network
no ratings, 0 comments
– Tip added by an anonymous user on Jul 13, 2007 at 4:42 pm

Installing Ubuntu in Parallels on Max OS X

no ratings, 0 comments
– Tip added by an anonymous user on May 02, 2007 at 10:17 am