Created
December 9, 2016 13:50
-
-
Save dchapkine/5df40ffff5571c91f967337a6d7c80b1 to your computer and use it in GitHub Desktop.
Free space on /boot aka remove old kernels on ubuntu
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
# List all kernels installed | |
``` | |
dpkg -l linux-image-\* | grep ^ii | |
``` | |
# Remove old kernels | |
``` | |
sudo apt-get purge linux-image-3.0.0-12 linux | |
``` | |
Obviously be careful, not removing the kernel yo are running. To see what kernel you are using, run `uname -a` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment