I was trying to install NVIDIA drivers today, but I didn't realize there are already the default drivers installed. I downloaded a ".run" file from NVIDIA website and tried to install the drivers. It said that it needs to disable nouveau. Then, it created 2 (or more, I don't know) files that should blacklist nouveau. The installation failed after that. I rebooted my laptop and tried to run the installation again. It failed, so I gave up. I deleted the 2 files the installer mentioned I should delete to enable nouveau again:
/usr/lib/modprobe.d/nvidia-driver-disable-nouveau.conf
/etc/modprobe.d/nvidia-driver-disable-nouveau.conf
Then, I rebooted my system. I saw some lines on the screen for a short time, then I got a black screen. I can still switch to command line TTY.
Is there a way to fix this? If not, can I download those config files I deleted somewhere?
blacklist nouveau
in one of the conf files that are located in/etc/modprobe.d
.Update the initramfs aftwards