Comment 25 for bug 1173468

Revision history for this message
Geoff Williams (geoff-geoffwilliams) wrote : Re: kernel-image package doesn't check free space on /boot

Flo,
If you were just out of disk space on /boot like I was -- and it looks like you were, then the simplest way to recover is just to uninstall some old kernels as you likely have a few installed, eg do:

$ dpkg -l|grep "ii[[:space:]]*linux-image"
and remove the oldest version, making sure that this isn't the running kernel, eg:
$ apt-get remove linux-image-3.5.0-23-generic linux-image-3.5.0-25-generic

Once you've done this, apt will re-run the packing for half-installed linux-image package from the new ubuntu version, although perhaps your system developed other problems from the installer aborting at a different point and leaving your system in an inconsistent state.

A lot of advice out there says to have a ~ 100MB boot partition which doesn't allow many kernel images to be installed these days and there are a few systems out there that refuse to boot if the root partition is massive so this may catch a few people...