Boot fails after installing Nvidia driver from Elrepo

Issues related to hardware problems
Post Reply
gryphiz
Posts: 1
Joined: 2018/11/20 00:56:54

Boot fails after installing Nvidia driver from Elrepo

Post by gryphiz » 2018/11/20 01:12:34

Hi everyone!
I did a fresh install of Centos 7.5 today on my laptop which has a 1070 and update and upgrade to the latest. After reboot installed the Nvidia driver 410.73 el7_5 from elrepo and everything installed fine but after reboot I'm getting this as the last line:
[OK] Started GNOME Display Manager .... ices .... shutdown....
Not really sure what to do!
I would appreciate your helps.

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: Boot fails after installing Nvidia driver from Elrepo

Post by stevemowbray » 2018/11/20 10:23:16

The current elrepo driver is built for the 7.6 kernel and you have 7.5. I would suggest you enable the CR repo and update to the 7.6 packages which have been there since last week, or you could install an older elrepo driver temporarily.

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Boot fails after installing Nvidia driver from Elrepo

Post by Mike_Rochefort » 2018/11/21 23:59:13

I don’t think that’s quite it, Steve. Gryphiz noted he’s using the 7.5 specific package.

I’m assuming you’re running a graphical desktop if you have GDM running. You didn’t specify but you need to disable nouveau, as the kernel module install can’t do that for you. Boot to multi-user mode by editing the grub menu option (press ‘e’ at the grub menu) and add systemd.unit=multi-user.target to the linux kernel options line.

Once you login as root, check /etc/modprobe.d/ for a file that contains “blacklist nouveau”. If it exists, skip the echo line below, otherwise do it.

Code: Select all

grubby ––update-kernel=ALL ––args="rd.driver.blacklist=nouveau nouveau.modeset=0"
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
dracut /boot/initramfs-$(uname -r) $(uname -r)
echo "blacklist nouveau" > /etc/modprobe.d/nouveau-blacklist.conf 
reboot
Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

Post Reply