LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nvidia Geforce with Centos 7.2 (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-geforce-with-centos-7-2-a-4175591567/)

newGuy@RHEL 10-17-2016 02:40 AM

Nvidia Geforce with Centos 7.2
 
Hi all

Trying too look for help here!!
I trying out centos 7.2 and wants to install Nvidia Geforce GTX 950 driver.
So, with goggle's help, was told to uninstall Nouveau first.
so here wat i did
add in blacklist nouveau under /etc/modprobe.d/blacklist.conf
add in rdblacklist=nouveau in /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot

after rebooting, Then the screen just turn black screen with a cursor blinking at top left corner.

it unable to boot into the OS!!
HELP PLEASE!!!!

newGuy@RHEL 10-17-2016 02:53 AM

add on to above
it just hangs on with a black/blank screen, after grub, disk decription, booting termineted and right before the user login.

aragorn2101 10-17-2016 06:40 AM

Hi,

You could have installed the Nvidia proprietary driver first and then blacklist nouveau.

Anyway, try pressing "e" instead of ENTER when choosing what to boot with GRUB. You will be given a command which boots the kernel. Add "nomodeset" at the end of the "linux ..." line. Also, remove "blacklist" in the booting parameters, if any. Normally at this point you should be able to boot to a CLI with a login on a black background.

If the above does not work, boot the computer with a USB or CD/DVD, mount your filesystem and remove the blacklisting, both in etc and grub.cfg. Then, install the proprietary nvidia driver and then only, blacklist nouveau by the just adding the line in /etc/modprobe.d/blacklist.conf

All the best.

John VV 10-17-2016 12:57 PM

i have found that after blacklisting nouveau you NEED!!!!! to rebuild the boot image
THEN you can install the driver

mind you i use the .run and not the prebuilt for cent/sl or fedora or suse
and i use SL 6

however the kmod-nvidia.rpm should auto do that

newGuy@RHEL 10-17-2016 08:13 PM

Quote:

Originally Posted by aragorn2101 (Post 5619050)
Hi,

You could have installed the Nvidia proprietary driver first and then blacklist nouveau.

Anyway, try pressing "e" instead of ENTER when choosing what to boot with GRUB. You will be given a command which boots the kernel. Add "nomodeset" at the end of the "linux ..." line. Also, remove "blacklist" in the booting parameters, if any. Normally at this point you should be able to boot to a CLI with a login on a black background.

If the above does not work, boot the computer with a USB or CD/DVD, mount your filesystem and remove the blacklisting, both in etc and grub.cfg. Then, install the proprietary nvidia driver and then only, blacklist nouveau by the just adding the line in /etc/modprobe.d/blacklist.conf

All the best.

Hi aragorn2101,
Thanks you for tour reply and suggestion.
nomodeset does help me to install nvidia driver but some how after install. boot up screen hangs for couple of minutes before booting into OS.
i also have found alternative solution by using a low end graphic card to Geforce 210 to display and install driver for my GTX 950.

newGuy@RHEL 10-17-2016 08:15 PM

Quote:

Originally Posted by John VV (Post 5619231)
i have found that after blacklisting nouveau you NEED!!!!! to rebuild the boot image
THEN you can install the driver

mind you i use the .run and not the prebuilt for cent/sl or fedora or suse
and i use SL 6

however the kmod-nvidia.rpm should auto do that

Hi John VV,
Thanks you for your reply,
i did rebuild my boot image if i'm not mistaken.
  • grub2-mkconfig -o /boot/grub2/grub.cfg

Jjanel 10-18-2016 05:31 PM

I think you are mistaken (but I'm learning all this also. Is it the free 30day RHEL trial?)
web-search: rhel rebuild boot image
The results mention `mkinitrd`; (study the concept of initrd: I think it's needed for RHCE)
`man grub2-mkconfig` indicates that only updates grub.cfg (text file)

OR does the `sh NVIDIA……run` (in your prior Thread) build a new kernel+initrd? Sorry, I don't know. (`ls -l /boot` to see them)

Best wishes! (Wow, you are learning all this 100x faster than me, a very OLD former Unix-SA!)

p.s. Goo... isn't giving me 'good' results, from my web-search for:
What is the linux|kernel|vmlinu{x,z}|bzImage|initrd intitle:"boot image"?
? ...|vmlinux|vmlinuz|... -android -arm -pxe -site:quora.com

newGuy@RHEL 10-18-2016 09:45 PM

Quote:

Originally Posted by Jjanel (Post 5619775)
I think you are mistaken (but I'm learning all this also. Is it the free 30day RHEL trial?)
web-search: rhel rebuild boot image
The results mention `mkinitrd`; (study the concept of initrd: I think it's needed for RHCE)
`man grub2-mkconfig` indicates that only updates grub.cfg (text file)

OR does the `sh NVIDIA……run` (in your prior Thread) build a new kernel+initrd? Sorry, I don't know. (`ls -l /boot` to see them)

Best wishes! (Wow, you are learning all this 100x faster than me, a very OLD former Unix-SA!)

p.s. Goo... isn't giving me 'good' results, from my web-search for:
What is the linux|kernel|vmlinu{x,z}|bzImage|initrd intitle:"boot image"?
? ...|vmlinux|vmlinuz|... -android -arm -pxe -site:quora.com

Hi Jjanel,
Centos is a free OS. you can download and try it out.

grub2-mkconfig -o /boot/grub2/grub.cfg is issue as there are changes in grub file as i blacklist nouveau. Does it really matter to boot image ( i'm not sure about it, still new in Linux Family)

Sh NVIDIA....run will build a new kernel for it ( if im not mistaken), in order to use its drivers.


All times are GMT -5. The time now is 12:38 PM.