0

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?

enter image description here

enter image description here

Will
  • 1
  • 1

2 Answers2

2

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.

virullius
  • 681
0

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" 
kyodake
  • 17,808