Last active
October 9, 2019 09:15
-
-
Save runozo/04441d43ba5f66c7a1fb5becbf6884e1 to your computer and use it in GitHub Desktop.
Safely clean up ubuntu /boot partition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname -r | |
sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r` | |
sudo apt purge linux-image-3.19.0-25-generic | |
sudo apt autoremove -y | |
sudo update-grub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment