Pages

December 27, 2010

Clean Up the GRUB2 Menu

I'm on my Christmas break and so I get to use my personal computer most of the time. I am currently using an Ubuntu run netbook and lately I did a kernel upgrade as per advice of the update manager.

I noticed that the Grub menu at the boot screen is presenting me with way too many choices of the different kernels installed and it looks messy (for me). So today, since I am on vacay and I don't have much to do, I decided to try and clean up the Grub menu. This will not only make the Grub menu look cleaner, it will also remove the unused kernels and recover some disk space.

First up, I had to make sure which is the latest kernel installed so I don't accidentally remove that one. So I went to the command line, issued an command and got a result of the latest kernel installed.

ric@ubuntu-nb:~$ uname -r
2.6.32-27-generic