Thursday, December 28, 2017

Low disk space on Boot partition

Low disk space on /boot is caused by old Linux kernels hogging space.

In Mint,

Open Update Manager
View/Linux Kernels
Acknowledge warning
Remove unused/old kernels one at a time


On Ubuntu,

sudo apt-get purge $( dpkg --list | grep -P -o "linux-image-\d\S+" | grep -v $(uname -r | grep -P -o ".+\d") )

No comments:

Post a Comment