getting rid of a configured and installed kernel on 10.04?

Tom H tomh0665 at
Thu Aug 5 21:06:46 UTC 2010

On Thu, Aug 5, 2010 at 4:22 PM, Robert P. J. Day <rpjday at> wrote:
>  i just want to verify this since i'm still not as familiar with grub
> 2 as i'd like to be. if i've configured and installed a new kernel on
> my system, and i eventually want to get rid of all traces of it, as i
> read it, all i need to do is go into /boot, delete all associated
> components, then
>  $ sudo update-grub
> will that do it? or am i missing something?  thanks.

Yes, unless you have installed that kernel through aptitude (or similar).

You are then better off running
aptitude purge linux-image-...
rather than deleting that kernel's components in /boot.

(By the way, on Debian and Ubuntu, you can follow the same procedure
with grub1.)

More information about the ubuntu-users mailing list