This question already has an answer here:
gksudo for Baobab Disk Usage Analyzer doesn't show /boot. I recently removed several old kernels. How can I verify that I've freed up space in /boot?
Backstory — I started spring cleaning because Ubuntu wasn't booting properly without workarounds. I diagnosed the error when my computer warned me that /boot was almost full. The warning opened Disk Usage Analyzer without root permission so /boot wasn't scanned. Now the analyzer can't seem to find the directory at all.
What I Did — After updating to most recent kernel, I removed old kernels one at a time with:
sudo apt purge linux-image-[VERSION].
When I was done, I updated grub2.
Each time the
purge command said it would free up 0 Bytes of space. They are gone tho according to:
dpkg --list | grep linux-image