I've been getting these messages right after I boot telling me I don't have enough space in my boot partition anymore. Today I reached a point I can't install anything else because of this. So I started researching how to resize it.
I found I could resize it using gparted, but I can't install it because there's no space left in /boot
.
Some people suggested that those who need to clear some space in /boot
should remove old kernels, but I have two issues with that: I don't know how to access /boot
in the terminal and I'm not completely sure what a kernel is, so I might just as well delete something important or my current kernel, which I know can damage my OS.
What should I do?
sudo apt autoremove
sudo apt-get autoclean
or evensudo apt-get clean
would probably help as well. With the option autoclean you remove downloaded packages, that are no longer needed on your system and with the option clean you remove all downloaded packages.