Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2736027
  • 博文数量: 423
  • 博客积分: 7770
  • 博客等级: 少将
  • 技术积分: 4766
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-09 11:58
个人简介

Oracle/DB2/Postgresql/Mysql/Hadoop/Greenplum/Postgres-xl/Mongodb

文章分类

全部博文(423)

文章存档

2019年(3)

2018年(6)

2017年(27)

2016年(23)

2015年(30)

2014年(16)

2013年(31)

2012年(73)

2011年(45)

2010年(14)

2009年(30)

2008年(30)

2007年(63)

2006年(32)

分类: LINUX

2011-05-13 17:15:37

FROM:Petr’s blog about Linux

Sometimes you need to run proprietary drivers in various linux distributions.
I was able to run it on standard 6.0 installed as “Desktop” with the following commands:

Update the system and install the necessary packages

[cc lang="bash"]
yum update
yum install gcc kernel-devel
reboot
[/cc]

Blacklist the driver

[cc lang="bash"]
sed -i ‘/root=/s|$| rdblacklist=nouveau vga=791|’ /boot/grub/grub.conf
echo “blacklist nouveau” >> /etc/modprobe.d/blacklist.conf
[/cc]

Change the initrd image:

[cc lang="bash"]
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
[/cc]

Remove the nouveau driver and reboot:
[cc lang="bash"]
yum remove xorg-x11-drv-nouveau
reboot
[/cc]

Stop the X server and run the Nvidia installation process from command line

[cc lang="bash"]
init 3
chmod +x NVIDIA-Linux-x86-260.19.29.run
./NVIDIA-Linux-x86-260.19.29.run
[/cc]

Enjoy :-)



阅读(1174) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~