Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 6513  / 2 Years ago, fri, february 18, 2022, 6:53:48

I've recently installed graphic drivers for an nvidia geforce RTX 2070. After that, Ubuntu (version 21.04) wouldn't boot anymore. (Lots of people seem to have this issue, see e.g. [1], [2], [3].) I've installed the driver via the built-in app (forgot the name and can't look since I can't boot, I think "Something & Packages"). I've then managed to remove the drivers by running some variant of sudo apt purge nvidia-.* in the Root Shell Prompt accessed via recovery mode, which allowed me to boot again.


I've next tried installing drivers by running the file downloaded here from the terminal. I figured that, if it doesn't work, I could remove the drivers again with the above command. However, this time, the same command returned a message saying there are no packages that start with 'nvidia' installed. As a result, I'm now unable to boot Ubuntu.


I've also tried



  • Navigating to the file (also in the recovery mode root shell) and launching it with the --uninstall option. It threw some error messages during the process but told me the drivers were successfully removed. However, I still can't boot.

  • Reinstalling and uninstalling with the file

  • Navigating into /etc/ and removing all files with xorg in their name (I have no idea what those files are, but it was among the suggested fixes I've found.)


Still can't boot. Any ideas other than the three things above or reinstalling Ubuntu?


Aside from being unable to boot, I still really need to get the drivers going. I only have Ubuntu to run ML stuff, which also requires a functioning GPU. Is there anything better than trying another of the suggested drivers and hoping for a different result?


EDIT: I believe this is (also) a hardware issue; the behavior changed after I changed BIOS settings (the action, only in the opposite direction, is described here.)


EDIT2: I've been told I need another power supply, I'll try that next.


More From » boot

 Answers
3

List all Nvidia related packages


dpkg -l | grep nvidia

Purge all the Nvidia related package you see in the list


When you have done this successfully


sudo ubuntu-drivers autoinstall
sudo prime-select nvidia

Reboot and now your system should work fine


[#1327] Sunday, February 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
herriail

Total Points: 11
Total Questions: 122
Total Answers: 118

Location: Peru
Member since Tue, Mar 16, 2021
3 Years ago
;