The reason why
/boot becomes full is because there are too many Linux
kernels installed. The solution is thus to remove some of them.
apt-get dist-upgrade might not work in this
situation, so we need to use
First, run this command to check what packages you are about to remove:
Make sure you are not about to remove the kernel that you are using now. You can get the version of the current kernel like so:
When you are ready (meaning you did the necessary backups, etc.), remove the extra kernels using this command: