How do I disable the nouveau driver on CentOS?

To disable the Nouveau driver, you can follow these steps:

  1. Firstly, open the terminal and log in using root privileges.
  2. To edit the grub configuration file, you can open the file using the following command:
  3. Edit the configuration file at /etc/default/grub.
  4. Locate the GRUB_CMDLINE_LINUX line in the open file and add the options nouveau.modeset=0 rd.driver.blacklist=nouveau within the quotation marks. An example is shown below:
  5. GRUB_CMDLINE_LINUX=”rhgb quiet disabling nouveau modeset and blacklisting nouveau driver”
  6. Save and close the file.
  7. Run the following command to regenerate the GRUB configuration:
  8. Generate a new configuration file for GRUB2 at the specified path /boot/grub2/grub.cfg.
  9. Restart the system for changes to take effect.
  10. restart
  11. The Nouveau driver will be disabled after the system restart.

Please note that these steps are applicable for CentOS 7 and higher versions. If you are using an older version, please make the necessary adjustments to the commands and file paths.

Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds