you have to blacklist the nouveau driver (the native video driver of both RHEL and CentOS).
There are different methods for accomplishing this, the one that I remember best, but may not be the best method to use is to inject the text string 'nouveau' into the file /etc/modprobe.d/blacklist.conf, you can do this with:
Code: Select all
echo 'nouveau' >> /etc/modprobe.d/blacklist.conf
The black screen occurs because you are successfully blacklisting the nouveau driver; however, the problem that still exists is that the video driver you want running is not loading at all; therefore you are left with no video driver in place at all.
Finally, to check if your NVIDIA driver is loaded you can simply execute a lsmod command and grep out the string 'nvidia' perhaps like this:
Code: Select all
lsmod | egrep -i nvidia