0

Recently I bought a Nvidia GTX 1660 graphics card, and I already have windows 10 and I installed Ubuntu 19.04 alongside windows 10.

I added the graphics driver PPA and installed Nvidia drivers using the command

sudo apt-get install nvidia-driver-430

everything worked fine until I reboot and it is stuck at the boot screen as below:

Boot screen

I did everything I could. I am sharing all of them

Try 1: I booted in recovery mode and selected the following option

dpkg             Repair broken packages

Previously a few times this solved my problem and computer booted successfully with nvidia drivers but nowdays it does not solve my problem.

Try 2: I booted in recovery mode and I opened root terminal from there and uninstalled nvidia driver using

sudo apt-get purge nvidia*

Then everything went fine and I successfully booted without nvidia driver and now my screen resolution reduced to 1024x768

PLEASE HELP ME TO INSTALL NVIDIA DRIVER PROPERLY. I'D BE GRATEFUL.

  • Check this link – singrium May 29 at 16:34
  • Disable Secure Boot. – GabrielaGarcia May 29 at 16:37
  • Thank you very much. It worked – Mark97 May 31 at 18:05
0

To begin with: First, enable your secure boot feature in the BIOS.
Second remove and purge all your nvidia packages using:

apt-get purge nvidia*

then to remove other dependencies of the NVIDIA driver:

apt-get autoremove

Then, reboot and

apt-get install nvidia-driver-4xx

where xx is the version number.
At the end of installation process it will ask you to set a secure boot password, set it to something (but remember it and write it down).

Then proceed to reboot, which then you will be asked to enroll the key

  • choose it then enter your password
  • exit it and proceed to boot.
  • Done

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.