How to restore Ubuntu if it crashes after kernel or Nvidia drivers updates
- Press Ctrl+Alt+T (or Ctrl+Alt+F1) to run terminal
- Install linux kernel source and headers
sudo apt-get install linux-source
sudo apt-get install linux-headers-<kernel version>-generic - Remove Nvidia drivers
sudo apt-get remove nvidia-current
or
sudo apt-get remove nvidia-current-updates
or
sudo apt-get remove nvidia-experimental-<version> - Reinstall Nvidia drivers
sudo apt-get install nvidia-current-updates - Reboot
sudo -r now