LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2016, 03:40 AM   #1
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 12

Rep: Reputation: Disabled
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!!!!
 
Old 10-17-2016, 03:53 AM   #2
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-17-2016, 07:40 AM   #3
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 204

Rep: Reputation: 82
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.
 
1 members found this post helpful.
Old 10-17-2016, 01:57 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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
 
Old 10-17-2016, 09:13 PM   #5
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by aragorn2101 View Post
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.
 
Old 10-17-2016, 09:15 PM   #6
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by John VV View Post
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
 
Old 10-18-2016, 06:31 PM   #7
Jjanel
Member
 
Registered: Jun 2016
Posts: 368

Rep: Reputation: 66
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

Last edited by Jjanel; 10-18-2016 at 10:34 PM.
 
Old 10-18-2016, 10:45 PM   #8
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Jjanel View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
centos 6.5 nvidia driver installation for graphic card GeForce 8400 rev a2 ababab Linux - Desktop 2 10-15-2014 09:05 PM
Nvidia driver for nVidia G98 [GeForce 9300 GE] Video card rhbegin Linux - Hardware 2 12-27-2011 11:12 AM
NVIDIA GeForce GT 540M graphics & NVIDIA Optimus Technology rabizadeh_ehsan Linux - Hardware 5 10-21-2011 08:39 AM
Nvidia GeForce worked once, Nvidia linux drivers killed it, and now i can't fix it. conway.federico Linux - Hardware 8 10-16-2008 11:28 PM
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 10:02 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration