Nvidia card blocking boot after clean install + nvidia drivers

So, I have installed OpenSuSe 13.2 on my new machine and after installing the nvidia drivers this is all I get (pages and pages of fast scrolling errors).

My Card is Nvidia 970.

How do I forbid the nvidia module from loading through grub? Or does someone have the answer to this issue?

http://i.imgur.com/s9yiVTz.jpg](http://imgur.com/s9yiVTz)

Which NVIDIA driver and how?

Have you tried booting to rescue mode in the advanced option in grub?

Short out line if above does not work

Boot to a terminal (press e at boot find line starting linux go to the true end of that line, it is long and wraps, put space and 3 at end press F10 to boot)

log as root
run yast remove NVIDIA driver
reboot

If you need more detail ask

The packages in the nvidia repo do not support the 9xx cards yet.
You need the latest 343.xx driver for that, which at the moment is only available on nvidia’s homepage.

So as gogalthorp suggested, remove all “nvidia” packages with YaST and install the driver “the hard way”: (be sure to download and install the 343.xx version)
https://en.opensuse.org/SDB:NVIDIA_the_hard_way

So there were two problems:

  1. yes the current package of nvidia drivers doesn’t support 970
  2. either by default, or in the nvidia driver package, there is a file **/etc/modprobe.d/50-nvidia.conf **
    that will block the boot of a machine if the nvidia module cannot be succesfully loaded

The second problem cannot be avoided, as the module is loaded even for runlevel 1.

I had to:

  1. boot into a live CD
  2. chroot into the system
  3. delete the /etc/modprobe.d/50-nvidia.conf

boot into the normal system 1. install nvidia driver manually

50-nvidia.conf is part of the nvidia packages, so it should be removed when you uninstall the packages.

And booting to recovery mode should have worked in any case I think.
Unless you use GNOME. :wink: But even then you should have been able to login in text mode.

Anyway, I take it your problem is solved now?
And I hope you uninstalled the nvidia packages before you installed the driver manually. Otherwise some files will be overwritten when there’s an update to the packages, which will cause you problems again.

Please note, that when installing the driver manually, you have to reinstall it after certain updates (kernel, Xorg, Mesa).

Well you cannot really remove a package if you cant boot the system.

I must admit that I’m not 100% sure, but I’m pretty confident that kernel modules are loaded always, as they are the requirement for everything else in the system.

I haven’t figured out how to blacklist a specific module through grub.

True.

I must admit that I’m not 100% sure, but I’m pretty confident that kernel modules are loaded always, as they are the requirement for everything else in the system.

But that file doesn’t tell the system to load the kernel module.
It rather changes some parameters in case the module is loaded.

Recovery has a lot of failsafe kernel options. Those might prevent the nvidia from being loaded. At least they do seem to prevent the fglrx kernel module from being loaded, as I saw in a different thread in the german subforum recently where somebody had problems after installing fglrx because the kernel module was not loaded as he had the “acpi=off” and “apm=off” kernel options on the normal boot’s kernel command line… :wink:

I haven’t figured out how to blacklist a specific module through grub.

“brokenmodules=nvidia”

Yeah, I think it was some weird interaction with systemd. But removing the file fixed the boot issue.

Cool, will try later.

I thought it was installer-only option?

Oh well, it is indeed.

Sorry, I somehow confused that. :-/