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

 

转载于:https://www.cnblogs.com/Mingxx/p/3192483.html

你可能感兴趣的:(fedora 禁止nouveau加载)