*nVidiaのメーカーのドライバを入れる
自動でインストーラがnouveauドライバを止めてくれないと、メーカーのドライバがインストールできない。
エラーメッセージを吐いて終了する
参照をまとめると
1.
/etc/modprobe.d/disable-nouveau.conf
を作って
blacklist nouveau
options nouveau modeset=0
を書き込んで保存
2.
/etc/grub.confを開いて
rdblacklist=nouveau vga=31b
を追加(vga=31bは不要かも知れない)
参照:developer.download.nvidia.com/compute/cuda/4_0_rc2/drivers/docs/README_Linux.txt
Q. How do I prevent Nouveau from loading and performing a kernel modeset?
A. A simple way to prevent Nouveau from loading and performing a kernel
modeset is to add configuration directives for the module loader to a file
in '/etc/modprobe.d/'. These configuration directives can technically be
added to any file in '/etc/modprobe.d/', but many of the existing files in
that directory are provided and maintained by your distributor, which may
from time to time provide updated configuration files which could conflict
with your changes. Therefore, it is recommended to create a new file, for
example, '/etc/modprobe.d/disable-nouveau.conf', rather than editing one of
the existing files, such as the popular '/etc/modprobe.d/blacklist.conf'.
Note that some module loaders will only look for configuration directives
in files whose names end with '.conf', so if you are creating a new file,
make sure its name ends with '.conf'.
Whether you choose to create a new file or edit an existing one, the
following two lines will need to be added:
blacklist nouveau
options nouveau modeset=0
The first line will prevent Nouveau's kernel module from loading
automatically at boot. It will not prevent manual loading of the module,
and it will not prevent the X server from loading the kernel module; see
"How do I prevent the X server from loading Nouveau?" below. The second
line will prevent Nouveau from doing a kernel modeset. Without the kernel
modeset, it is possible to unload Nouveau's kernel module, in the event
that it is accidentally or intentionally loaded.
You will need to reboot your system after adding these configuration
directives in order for them to take effect.
If nvidia-installer detects Nouveau is in use by the system, it will offer
to create such a modprobe configuration file to disable Nouveau.
Q. What if my initial ramdisk image contains Nouveau?
A. Some distributions, particularly recent Red Hat/Fedora distributions,
include Nouveau in an initial ramdisk image (henceforth referred to as
"initrd" in this document, and sometimes also known as "initramfs"), so
that Nouveau's kernel modeset can take place as early as possible in the
boot process. This poses an additional challenge to those who wish to
prevent the modeset from occurring, as the modeset will occur while the
system is executing within the initrd, before the directives in
'/etc/modprobe.d' are processed.
If you have an initrd which loads the Nouveau driver, you will additionally
need to ensure that Nouveau is disabled in the initrd. If your initrd
understands the rdblacklist parameter, you can add the option
rdblacklist=nouveau to your kernel's boot parameters. This should be done
in your bootloader's configuration file(s), so that the option gets passed
to your kernel every time the system is booted. Please consult your
distribution's documentation on how to configure your bootloader, as
different distributions use different configuration files.
An alternative is to rebuild your initrd without Nouveau. If you choose
this option instead of configuring your bootloader, please consult your
distribution's documentation on how to rebuild the initrd, as different
distributions have different tools for building and modifying the initrd.
参照2:scientificlinuxforum.org/index.php?showtopic=69
I have installed SL6 boot loader to a partition boot sector (hd1,5); not to the mbr. Ubuntu's grub 2 is used to chainload SL6.
I have added the rdblacklist=nouveau vga=31b parameter to menu.lst as shown below.
Now my question. When kernel updates come through will I have to manually always add the
above parameter to menu.lst, or is there a way to ensure that it is always added automatically ?
>>>
title Scientific Linux (2.6.32-71.18.2.el6.x86_64)
root (hd1,5)
kernel /boot/vmlinuz-2.6.32-71.18.2.el6.x86_64 ro rdblacklist=nouveau
vga=31b root=UUID=253aa607-14da-439a-8421-9ebb90073eb4 rd_NO_LUKS
rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet crashkernel=auto
initrd /boot/initramfs-2.6.32-71.18.2.el6.x86_64.img