[wellylug] Ubuntu too many kernels

David Harrison david.harrison at stress-free.co.nz
Fri Feb 12 09:55:31 NZDT 2010


Can't you just:

sudo apt-get remove "kernel image name"

e.g. sudo apt-get remove linux-image-2.6.28-11-server


This should remove the old kernel and image files from /boot and update
Grub.




On Fri, Feb 12, 2010 at 8:58 AM, Cliff Pratt <enkidu at cliffp.com> wrote:

> Carl Turney wrote:
> > Hi,
> >
> > I've got Ubuntu Hardy, with GRUB 0.97-29ubuntu21.2
> >
> > My /boot is in its own partition.  I've updated the kernel about 4-5
> > times.
> >
> > The old kernels are accumulating, resulting in (briefly) a 100% full
> > boot partition.
> >
> > (That even resulted in 2.6.24-26 apparently only partially installing.)
> >
> > Websites advise running Synaptic, Searching, and Completely Removing the
> > older versions - then manually removing their references in
> > /boot/grub/menu.lst
> >
> > When I've done this, on those older versions, there are long, confusing
> > warning messages in Synaptic, of failed removal scripts... which I can
> > see, but not copy and paste for you all to read.  Also, a couple (large)
> > files remain in the /boot directory, with names including the version
> > numbers half-uninstalled.
> >
> Probably a result of your space problems, I'd say. Without the actual
> messages it is hard to tell.
>  >
> > Any help?
> >
> > Do you know if this is all fixed in the upcoming Limp Leprechaun?
> >
> I regularly uninstall old kernels, so the problem is not with the
> version of Ubuntu that you have.
>
> Cheers,
>
> Cliff
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20100212/36e57487/attachment.htm 


More information about the wellylug mailing list