1. Upgrade, refresh and restart the operating system before attempting to install the NVIDIA driver! ...
1.a Upgrade and refresh Rocky Linux 9.5 ...
$>sudo dnf update -y
$>sudo dnf upgrade --refresh -y
Restart the system ...
$>sudo reboot
2. Disable Nouveau, the default GPU driver with GRUB ...
2.a Determine the system boot type (BIOS or UEFI) .
This can be accomplished by:
Checking BIOS/UEFI settings
... or ...
Checking the disk file system ...
$>sudo df -h
... if output contains a ' /boot/efi ' directory; the system boot type is likely UEFI .
2.b Edit GRUB file ' /etc/default/grub ' with nano editor ...
$>sudo nano /etc/default/grub
Note: Never directly edit any other GRUB file; only this one, ' /etc/default/grub ' .
Notice that it does not have a suffix; i.e. this particular one is ' grub ' not ' grub.cfg ' !!!
Find the line that begins with ' GRUB_CMDLINE_LINUX_DEFAULT ' or ' GRUB_CMDLINE_LINUX '
Example: GRUB_CMDLINE_LINUX="blah blah blah"
Use arrow keys to maneuver the cursor to the end of that line; and append it with ' nouveau.modeset=0" '
Example: GRUB_CMDLINE_LINUX="blah blah blah nouveau.modeset=0"
Notice that there are no spaces immediately preceding or following the quote marks < " > .
' Ctl+O ' to commit changes to the nano editor buffer
' Ctl+X ' to exit nano editor
2.c Update GRUB ...
For BIOS:
$>sudo grub2-mkconfig -o /boot/grub2/grub.cfg
For UEFI:
$>sudo grub2-mkconfig -o /boot/grub2/grub.cfg
If Rocky Linux complains with ' GRUB configuration file was not updated ' ; try ...
$>sudo grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg
Restart the system ...
$>sudo reboot now
3. Identify, download and install the appropriate NVIDIA GPU driver ...
How to Find the Latest Driver for My GPU
https://www.nvidia.com/en-us/drivers/details/242273/ - This is the driver for your NVIDIA RTX 6000 Ada Generation GPUs
3.a From System SN4622123742 , download the driver run file with ...
Navigate to the current user home directory ...
$>sudo cd ~
Download the NVIDIA driver run file ...
$>sudo wget https://us.download.nvidia.com/XFree86/Linux-x86_64/570.133.07/NVIDIA-Linux-x86_64-570.133.07.run
3.b Make the downloaded NVIDIA run file executable ...
$>sudo chmod +x NVIDIA-Linux-x86_64-570.133.07.run
3.c Disable the GUI display manager by changing the system runlevel ...
$>sudo init 3
3.d Install the NVIDIA driver by executing the run file ...
$>sudo ./NVIDIA-Linux-x86_64-570.133.07.run
3.e Restart the system ...
$>sudo reboot
Comments
0 comments
Please sign in to leave a comment.