Just couple minutes ago I tried to install Latest Nvidia Driver 340.46 via PPA in Ubuntu. For this reason I used this instruction
The following commands weere executed:
sudo add-apt-repository ppa:mamarley/nvidia
sudo apt-get update
sudo apt-get install nvidia-340
After reboot I see only black screen and that all.
How can I fix it?
It could be a package problem or driver problem.
Change to tty: Ctrl+Alt+F1
Try to remove the
xorg.conf file by doing in the terminal the following command:
sudo rm /etc/X11/xorg.conf. Then try to create a new on by doing in the terminal the following command:
If it still doesn't work, remove the driver and install the normal:
sudo apt-get --purge remove --purge nvidia-* #note this command will also remove the ubuntu-desktop package!!!
sudo apt-get install ubuntu-desktop
apt-get install nvidia-331 nvidia-331-dev nvidia-331-uvm nvidia-settings
If you can't switch to tty by ctrl + alt + F1 combination you have to launch rescue mode. You can do it by holding shift after post test (before ubuntu start launching). Now select you want to have network connection and go to root command. You have to remount your drive from read only to full access:
mount -o remount,rw /
Now purge your current nvidia drivers installation by:
apt-get purge nvidia*
and restore older driver:
apt-get install nvidia-current
Now you can try to reboot.
(and in farther way install e.g nvidia 331 drivers)