Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> SL7.x - How to install the NVidia Driver with Dynamic Kernel Module Support Framework - New Installa
Backslash
 Posted: Oct 17 2014, 12:01 AM
Quote Post


SLF Rookie
*

Group: Members
Posts: 16
Member No.: 2138
Joined: 14-December 12









SL7.x - How to install the NVidia Driver with Dynamic Kernel Module Support Framework - New Installation

Installing Scientific Linux
SL7.x no longer has the "Install system with basic video driver" option available in the installation options. To permit installation with the basic video driver, on the first splash screen seen during installation, press the tab key on the keyboard to display all of the boot options. Add the following code to the boot options, leaving all of the other boot options unchanged.

CODE
inst.xdriver=vesa nomodeset


press enter

Complete the installation

Update Software
Update software until all updates are installed.
Reboot the computer.

Install Packages
Install the required packages.
In terminal
CODE
su

<root password>
CODE
yum install kernel-devel kernel-headers gcc make


Install Dynamic Kernel Module Support Framework (dkms)
Enable EPEL Repo
Install dkms
Disable EPEL Repo

Download Driver
Download the appropriate NVidia driver, saving the file to your Downloads directory.
NVidia Website
Once the driver download has completed, close all open applications

Switch to runlevel 3
"init 3" not longer works in SL7 so we use a different command
In terminal
CODE
su

<root password>
CODE
systemctl set-default multi-user.target

CODE
reboot


Login as root
CODE
root

<root password>

Change to the Downloads directory where the NVidia driver is
Replace "your_user_name" in the code below with your actual user name
CODE
cd /home/your_user_name/Downloads


Make the Driver Executable
Tip - you can type the first letter of the driver name and then press the tab key to fill in the remainder of the file name. In the code below "<NVidia_Driver_Name>" is replaced with the actual driver name.
CODE
chmod +x <NVidia_Driver_Name>.run


Install the Driver
Tip - use the arrow keys to move the cursor to the selected option, pressing enter will execute the selected option.
NOTE - During the installation, when asked:
1. Would you like to register the kernel module sources with DKMS? ........ - Select YES
2. Would you like to run the nvidia-xconfig utility........? - Select YES
In the code below "<NVidia_Driver_Name>" is replaced with the actual driver name.
CODE
./<NVidia_Driver_Name>.run


When the driver installation has completed and you are back at the command prompt. Type the following commands pressing enter after each command.
CODE
systemctl set-default graphical.target

CODE
reboot


You're done, enjoy!
PM
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll