Closed LukasFreeze closed 5 years ago
See for example https://gist.github.com/ipbastola/2760cfc28be62a5ee10036851c654600 (Case I).
In short, this should do it all in one:
sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v $(uname -r) | while read -r line; do sudo apt-get -y purge $line;done;sudo apt-get autoremove; sudo update-grub
Thanks! It threw a few errors along the way but worked fine, now there are about 380 MB of free space again :+1:
The 3D printing PC gives out a warning at startup, stating that only ~800kb remain in the "boot" partition.
Could someone with Linux skills please help? It looks like there are a couple old versions in there that could be deleted, but I don't want to mess anything up.