This step can take up to an hour.
An existing display driver may cause booting problems. At the boot selection screen, press 'e' to edit the configuration. Place a single 3 character at the very end of the linux16 command, and press CTRL-x. This is booting to a command line, if needed.
Code: Select all
linux16 /vmlinuz etc etc LANG=en_US.UTF-8 3
As super user root,
Code: Select all
--import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install -y kernel-ml
yum --enablerepo=elrepo-kernel install -y kernel-ml-devel
The machine must be rebooted at this time.
Code: Select all
./NVIDIA-Linux-x86_64-390.25.run --uninstall
Reboot at this time.
kernel-ml is short for kernel MainLine Stable.
kernel-ml-devel is the kernel sourcecode and is not required. But if an NVIDIA display driver is needed on the machine, it is required. The ".run" file is actually compiling a driver against that source. If you have done something wrong, you will be greeted with this message ,
ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.