How to remove old kernel images

At some point in time, almost every Linux user will have updated their kernel image. After you've used Linux with the new kernel image for a while and your content everything is working properly, you might want to remove the old Linux image or images that still reside on your system and appear as grub boot options. The following process explains how to entirely remove the old Linux image which in turn also unclutters your grub menu.

Removing those old Linux kernel images:

Make a note of your old kernel images from the Grub Menu during boot.

  1. Press Alt+F2 and type Synaptic
  2. From the Menu select Search and type linux-image in the Search box
  3. Locate your old linux-mage from the list for example: linux-image-2.6.xx-xx-xxx
  4. Right Click the images you would like to remove, select Mark for Complete Removal and then click apply to remove the old image

Next time you reboot the Grub menu will contain only the current linux-image.

Note: You can also find and remove linux-headers using this simple method.

Disclaimer