Thursday, April 11, 2013

Ubuntu crash after kernel or Nvidia proprietary drivers updates

How to restore Ubuntu if it crashes after kernel or Nvidia drivers updates

  1. Press Ctrl+Alt+T (or Ctrl+Alt+F1) to run terminal
  2. Install linux kernel source and headers
    sudo apt-get install linux-source
    sudo apt-get install linux-headers-<kernel version>-generic
  3. 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>
  4. Reinstall Nvidia drivers
    sudo apt-get install nvidia-current-updates
  5. Reboot
    sudo -r now

2 comments:

  1. After update, screen resolution and positioning was wonky. I ran apt-get remove nvidia-current from root recovery prompt, then rebooted and all was well.

    ReplyDelete
    Replies
    1. But now you have no NVIDIA drivers? If yes it's don't work for me cause my 12.10 runs unstable (compiz crashes) without proprietary drivers.

      Delete