excessive /boot entries
Lisi Reisz
lisi.reisz at gmail.com
Wed Apr 1 10:05:32 UTC 2009
On Wednesday 01 April 2009 10:53:54 Lisi Reisz wrote:
> On Wednesday 01 April 2009 09:38:49 Alvin wrote:
> > On Wednesday 01 April 2009 10:23:59 Lisi Reisz wrote:
> > > On investigation I found that there are about 60 kernels in /boot(1),
> > > from which I imagine that menu.lst has retrieved its very long list.
> > > Can I safely remove most of the entries in /boot (rm foo), and then
> > > edit menu.lst, and if so, which do I need to keep. Not only are there
> > > more kernels than seem necessary (or desirable!), but each seems to
> > > have too many options.
> > >
> > > So: Which entries should I keep?
> >
> > Keep in mind that these kernels are all installed packages. Keep the last
> > one, or the last two and just purge the rest. The menu.lst will be
> > adapted and you will gain some disk space.
> >
> > For example:
> > $ sudo apt-get purge linux-headers-2.6.27-14
> > linux-headers-2.6.27-14-generic linux-image-2.6.27-14-generic
> > linux-restricted-modules-2.6.27-14-generic
> >
> > Of course, do not remove your running kernel. You can check your kernel
> > version with 'uname'.
>
> How do I find out what the package name of each kernel is? Or what else am
> I doing wrong?(1) I have inserted blank lines between attempts for the sake
> of legibility.
Nothing like answering one's own questions. :-( I stopped panicking and
remembered that I can simply get a list of installed packages. So I'll start
with that and come back if I still have problems.
Sorry for the noise. :-(
Lisi
More information about the kubuntu-users
mailing list