getting rid of a configured and installed kernel on 10.04?

Robert P. J. Day rpjday at
Thu Aug 5 21:13:18 UTC 2010

On Thu, 5 Aug 2010, C de-Avillez wrote:

> On Thu, 5 Aug 2010 16:22:12 -0400 (EDT)
> "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.
> Ideally you should not do that, unless you built your own kernel
> manually (and manually installed it).

  and that is precisely what i did, which means i have a few
extraneous files hanging out in /boot that i don't care about anymore,
so i'm just looking for the easiest way to get rid of some cruft that
doesn't interest me.

  i could easily manually edit the /boot/grub/grub.cfg file but that
file clearly warns one away from doing that.  so, i *believe* all i
need to do is remove the files i don't want from /boot, then run
"update-grub", which would appear to regenerate that file based on
what it finds.  i just want to know if my understanding is correct.




Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses


More information about the ubuntu-users mailing list