Skip to content

Instantly share code, notes, and snippets.

@bdiegel
Created August 30, 2014 13:46
Show Gist options
  • Save bdiegel/b1c5ed0a711db575e8f0 to your computer and use it in GitHub Desktop.
Save bdiegel/b1c5ed0a711db575e8f0 to your computer and use it in GitHub Desktop.
Removing old linux kernel images
## Find and remove old linux kernel images to free space on /boot
# how much free/used space on boot partition
df -h /boot
# identify currently used version of the kernel
uname -a
# list all the installed kernel images
dpkg -l | grep linux-image
# remote unused images
sudo apt-get remove --purge linux-image-3.13.0-30-generic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment