Skip to content

Instantly share code, notes, and snippets.

@ps
Created March 25, 2014 04:41
Show Gist options
  • Save ps/9755379 to your computer and use it in GitHub Desktop.
Save ps/9755379 to your computer and use it in GitHub Desktop.
Going back to a previous kernel of Ubuntu
Fire up the terminal and run this command:
dpkg -l | awk '/linux-[^ ]+-[0-9]/ {print $2}'
It should print all of the available kernel versions.
Check which version of kernel you are currently running by typing in: uname -a
Once you know which new version of the kernel you want to remove type:
sudo apt-get purge linux-headers-3.8......
sudo apt-get purge linux-image-3.8......
Note: it is possible to type 'apt-get -s purge ......' to see what will be done without actually running the command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment