fedora 禁止nouveau加载

To remove / disable nouveau drivers from kernel initramfs 

## Backup old initramfs nouveau image ##

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img

## Create new initramfs image ##
dracut /boot/initramfs-$(uname -r).img $(uname -r)

##Reboot
init 6

To blacklist the nouveau drivers:

Make changes in the /etc/default/grub as follows:

GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True  KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 rhgb quiet rdblacklist=nouveau"

then, update the grub2 config file as follows:

grub2-mkconfig -o /boot/grub2/grub.cfg

 

posted @ 2013-07-16 00:18  Mingxx  阅读(1308)  评论(0编辑  收藏  举报