I have recently built a new PC on which I installed Ubuntu 18.04.2 LTS alongside windows (dual-boot). After trying to update the Nvidia driver using the following command:
sudo apt-get install nvidia-331
which I found here, I have had a black screen when trying to boot to Ubuntu ever since (straight after the GRUB menu).
I have seen many posts out there about people having problems with Nvidia drivers, so it seems I'm far from alone. Besides, there have already been a lot of useful answers/suggestions provided, so I don't want to add yet another question on the subject itself (I will take the time to read and try out the different suggestions once I solve my present problem).
My problem is that I cannot get past the first step to try any of these solutions out, which is being able to access a terminal.
I have tried several things which I gathered from different posts (e.g. here):
Ctrl + Alt + F1
: Nothing hapened.- Highlight the Ubuntu option and press E.
Add
nouveau.modeset=0
to the end of the line beginning with linux. Press F10 to boot : after F10 I got a flash (for like a second) of an ultra-low resolution command terminal (with very fast successive commands) then it became black. - Similarly, replace
quiet splash
withnomodeset
, and boot with F10: same result.
Any ideas of what else I can try to show up a terminal?
Or do I need to reinstall Ubuntu if none of these options work? If so, any links to material that explains how to do that (I have never had to uninstall it before).
Some info on my PC specs, in case it helps:
- CPU: Ryzen 7 2700X
- Motherboard: Asus ROG STRIX X470-F GAMING
- GPU: NVidia Geforce RTX 2070
GPU: NVidia Geforce RTX 2700
orGPU: NVidia Geforce RTX 2070
? Which one have you installed?Ctrl+Alt+F7
, could you reach GUI logon (of course, you already said about black screen)? Did you tryCtrl+Alt+F1' through Ctrl+Alt+F6
? Please @johnwolf1987, try it. Moreover, why did you go for nvidia-331? The latest driver is 418.56 as of 2019/03/20. Linux x64 (AMD64/EM64T) Nvidia Display Driver.sudo apt-get purge nvidia*
2)sudo add-apt-repository ppa:graphics-drivers/ppa
3)sudo apt-get update
4)sudo apt-get install nvidia-410
and finally 6)Reboot
. Issue command:lsmod | grep nvidia
. If there is output, then your installation is successful! Also refer NVIDIA 410.66 Linux Driver Released With RTX 2070 Support. If you can somehow access a console, then you can install Nvidia-410 successfully!Ctrl+Alt+(all the Fs)
, but I will try again just to be sure. I chose nvidia-331 because I blindly followed the instructions in another post which (sadly) forgot to mention that this command was only valid for a given type of graphics card, and that we had to change it to the version compatible with our graphics card.