LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to Permanently blacklist nouveau module in fedora 17 (grub2) (https://www.linuxquestions.org/questions/fedora-35/how-to-permanently-blacklist-nouveau-module-in-fedora-17-grub2-4175437409/)

owaisarain 11-16-2012 04:47 AM

How to Permanently blacklist nouveau module in fedora 17 (grub2)
 
Hello everyone !

i just installed fedora 17 and downloaded the nvidia driver for GPU (GT 630). i have previously installed it in fedora 16. this time i am unable to blacklist nouveau module persistently. i made a change in /etc/default/grub as follows:

Code:

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"
and after that i ran:

Code:

grub2-mkconfig
the output of this showed rdblacklist=nouveau somewhere, therefore i thought grub2-mkconfig has read my change in /etc/default/grub.

but after restart it was not present in kernel boot parameters, and nouveau was still loaded.

for the time being i manually edited the boot parameters at boot screen and then switched to runlevel 3, by this i was able to install nvidia driver.

now the problem is that i have to manually blacklist nouveau every time while booting, otherwise it conflicts with the installed nvidia driver and in which case GUI freezes.

any idea/help will be greatfull.

Thanks.

jayfree 11-16-2012 06:09 AM

http://forums.fedoraforum.org/showthread.php?t=280750

In order to ubdate grub2 config file you need to run,
Code:

grub2-mkconfig -o /boot/grub2/grub.cfg
but I believe the nvidia yum/rpm install will do it for you.

owaisarain 11-19-2012 12:59 AM

That Worked
 
Thanks jayfree !
it worked, now nouveau is permanently blacklisted and installed nvidia driver working fine..


All times are GMT -5. The time now is 04:00 AM.