The volume "boot" has only 0 bytes disk space remaining

I'm running Ubuntu 16.04 and on my last few boots I have recieved a Low Disk Space message.
Low Disk Space

I brought up my system monitor and saw that my /boot directory /dev/sda1 was full. /boot 100% capacity

Clicking into the drive revealed a list of unused kernels.1 That is about 400MB worth of unused kernels on a 500MB boot partition.
Unused Kernels

There is plenty of advise on how to clean this up. The option that seemed safest to me is as follows.2

sudo apt autoremove --purge

You'll be asked of you are sure you want to continue. I choose yes, please be sure you understand what you are purging.
Are you sure?

It took about five minutes to purge all of the unused kernels (this will vary depending upon how cluttered you partition is). You should see console output similar to the following.
Uninstall message

Returning to your system monitor you'll notice your boot partition now has plenty of space.
/boot 24% capacity

Resources

  1. https://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot
  2. http://ubuntuhandbook.org/index.php/2016/05/remove-old-kernels-ubuntu-16-04/

LinkedInGitHubTwitter