0

After I tried to install my GPU driver, my Ubuntu wouldn't boot. How do I install my driver correctly? Every time I try after I restart my system my Ubuntu won't boot. I'd like to know how to properly install my GPU NVIDIA driver. Thanks.

  • As noted below, purge, not remove is needed to rid your system of old configuration files. e.g. sudo apt-get purge nvidia-driver-390. (Equivalent to apt-get remove --purge ...) – ubfan1 Nov 26 '18 at 22:35
  • I "purged" my Nvidia driver to try and boot my computer, but it's still trying to use the Nvidia driver I don't have. Do you know how to get it to boot using Ubuntu's driver? – Mickey Mouse Nov 27 '18 at 19:49
  • List any remaining nvidia packages with dpkg -l nvidia* (only the ones starting with "ii" ). Purge those packages too. Can you log into the guest session? If so, there may be leftover nvidia config in one of your hidden dot files (files whose first character is a period). – ubfan1 Nov 27 '18 at 20:19
  • I can't log on to the gust session, but I'll try to purge the remaining packages. – Mickey Mouse Nov 27 '18 at 22:57
  • "Failed to read file 'nvidia*'" – Mickey Mouse Nov 27 '18 at 23:51
  • You can edit the question to add information instead of adding comments, which might get removed. On my 18.04 system, the expected output (for no packages) of dpkg -l nvidia* would be dpkg-query: no packages found matching nvidia* What exact command did you give to get that "Failed to read file" output? – ubfan1 Nov 28 '18 at 00:02
  • Dpkg -I nvidia* – Mickey Mouse Nov 28 '18 at 16:12

1 Answers1

1
  • Run on Terminal software-properties-gtk

  • Go to "Additional Driver" tab.

  • Select NVIDIA Driver and click on apply changes.

NVIDIA

  • When completed reboot.
Vijay
  • 8,056