getting rid of a configured and installed kernel on 10.04?

C de-Avillez hggdh2 at ubuntu.com
Thu Aug 5 21:05:31 UTC 2010


On Thu, 5 Aug 2010 16:22:12 -0400 (EDT)
"Robert P. J. Day" <rpjday at crashcourse.ca> 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.

Ideally you should not do that, unless you built your own kernel
manually (and manually installed it).

If it is a kernel package, all you need to do is 'apt-get purge' it.
This will take care of cleaning the /boot and running 'update-grub'.

Beware of removing a currently-running kernel. It is really a bad idea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100805/74f472af/attachment.sig>


More information about the ubuntu-users mailing list