LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02:40 AM   #1
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 27

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, 02:53 AM   #2
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 27

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, 06:40 AM   #3
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
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, 12:57 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 08:13 PM   #5
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 27

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, 08:15 PM   #6
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 27

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, 05:31 PM   #7
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
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 09:34 PM.
 
Old 10-18-2016, 09:45 PM   #8
newGuy@RHEL
LQ Newbie
 
Registered: Jun 2016
Posts: 27

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



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 08:05 PM
Nvidia driver for nVidia G98 [GeForce 9300 GE] Video card rhbegin Linux - Hardware 2 12-27-2011 10:12 AM
NVIDIA GeForce GT 540M graphics & NVIDIA Optimus Technology rabizadeh_ehsan Linux - Hardware 5 10-21-2011 07: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 10:28 PM
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:04 AM.

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
Open Source Consulting | Domain Registration