Last active
November 25, 2016 06:29
-
-
Save crazyrohila/8a9a2ec964f889a95bb9ac9f9fd4869d to your computer and use it in GitHub Desktop.
Remove old images in boot dir
This file contains hidden or 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 ##identify the kernel you are presently booting DO NOT remove this one ! Keep one other for a back up. | |
dpkg -l | grep linux-image- ##identify all installed kernel images | |
dpkg -l | grep linux-headers- ##identify all kernel header files | |
sudo apt-get --purge remove linux-image-3.2.0-31-generic ##for example | |
sudo apt-get --purge remove linux-headers-3.2.0-31-generic ##for example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment