The /boot
partition is on 100% use and there is 0 available for it.
Does anyone know what I should do to free up some space?
The /boot
partition is on 100% use and there is 0 available for it.
Does anyone know what I should do to free up some space?
sudo apt-get autoremove
To remove old kernels; if that doesn't work I'm afraid you may need to expand the boot partition, which is much more involved.
Try this:
Open a terminal,
Press Ctrl+Alt+T
Run it:
exec sudo -i
KERNELCUR=$(uname -r | sed 's/-*[a-z]//g' | sed 's/-386//g')
PKGLINUX="linux-(image|headers|ubuntu-modules|restricted-modules)"
METAPKGLINUX="linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)"
KERNELSOLD=$(dpkg -l | awk '{print $2}' | grep -E "$PKGLINUX" | grep -vE "$METAPKGLINUX" | grep -v "$KERNELCUR")
apt-get purge "$KERNELSOLD"