Monday, January 30, 2012

Nvidia proprietary drivers and RHEL6 / CentOS 6

Sometimes you need to run Nvidia proprietary drivers in various linux distributions.

I was able to run it on standard RHEL 6.0 installed as “Desktop” with the following commands:

Update the system and install the necessary packages
yum update
yum install gcc kernel-devel

reboot

Blacklist the nouveau driver
sed -i '/root=/s|$| rdblacklist=nouveau vga=791|' /boot/grub/grub.conf
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf


Change the initrd image:
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)

Remove the nouveau driver and reboot:
yum remove xorg-x11-drv-nouveau
reboot

Stop the X server and run the Nvidia installation process from command line
init 3
chmod +x NVIDIA-Linux-x86-260.19.29.run
./NVIDIA-Linux-x86-260.19.29.run

Enjoy

No comments:

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

This HOW-TO contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk pe...