How To remove unwanted Kernel entries from the Grub

Ubuntu Lucid Lynx now comes with version 2 of the grub. One of the annoying things with Ubuntu's update is the frequent Kernel update's. And every time there is a kernel update there appears a bunch of entries in your grub. So this post is basically going to help you get rid unwanted entries in the grub in a simple way.

Not much to do actually. Its a very simple 2 step process. There are many grub menu edit methods using which you can just edit the grub. But what i have here is completely deleting the older kernel from your system. 




So if you consider the above image, kernel 2.6.32-22 is the latest version in the system. If there are only 2 version of kernel in your system then you might want to keep the previous version as a backup. 

Basically if your deleting then you start by typing the command

 sudo apt-get purge linux-image-2.6.32-21-generic

If you have multiple kernels to be deleted then repeat the above step.
Next you have to update your grub. This is done by the simple command..

sudo apt-get upgrade grub

Now restart and you see your grub is all cleaned up! :)



Category: ,

0 comments:

Post a Comment