Linux Ubuntu Linux How to remove nvidia drivers from recovery mode?
CTRL ALT F1 Go to CMD
CTRL ALT F7 back to screen
After I installed experimental Nvidia drivers, Ubuntu will not boot. How can I remove the drivers from recovery mode?
If I choose recovery mode and in the menu choose “root” (drop to root shell prompt), and then try to use the command
If you want to be sure that you will purge everything related to nvidia you can give this command
sudo apt-get remove —purge nvidia-* (2 times “-“)
the asterisk in the end means (Purge everything that begins with the name nvidia-)
Install ubuntu dekstop ( if you want not must)
sudo apt-get install ubuntu-desktop Remove CFG sudo rm /etc/X11/xorg.conf
Install NVIDIA
sudo apt-get update
sudo apt-get upgrade
Install now the latest Nvidia driver (currently version 304.43) from PPA using this sequence of commands:
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings
When you finish the driver installation, exit from Recovery Mode using this command:
exit