Re: getting rid of a configured and installed kernel on 10.04?



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

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

thanks.

rday

--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Grub problems Lucid 10.04
    ... November are the updated kernels not implemented in grub. ... With the automatic updates the kernel files are updated and I the latest ... Hi, Joep, I was out of the country for about a week - oh, you just sent this, so hopefully you did not wait long. ...
    (Ubuntu)
  • Re: building and installing a new kernel makes my system unbootable
    ... $ sudo make install ... above and reboot, i not only can't stop in GRUB, but the boot fails as ... the kernel panics, claiming it can't mount a root file system. ...
    (Ubuntu)
  • Re: building and installing a new kernel makes my system unbootable
    ... above and reboot, i not only can't stop in GRUB, but the boot fails as ... the kernel panics, claiming it can't mount a root file system. ... anyway, i just built a 2.6.35-rc4 kernel, about to install, create ...
    (Ubuntu)
  • Re: building and installing a new kernel makes my system unbootable
    ... above and reboot, i not only can't stop in GRUB, but the boot fails as ... the kernel panics, claiming it can't mount a root file system. ... the entries for that new kernel. ...
    (Ubuntu)
  • Re: minimal installation questions
    ... install install is, ... If I were trying to get it down, I'd start trying to get rid of these packages ... You probably don't care about getting mail from the kernel on this box, ... you can dump all the ppp* garbage completely. ...
    (Debian-User)