How to Add “nomodeset” to Grub2 in Fedora and Ubuntu
Posted on In QAI need to add nomodeset
to make my GPU card work on Linux. Latest Fedora and Ubuntu and their derives use grub2.
How to add nomodeset permanently to grub2 on Fedora and Ubuntu?
The parameters grub2 will use are stored in its grub.cfg file. The grub.cfg file is generated from grub’s default settings file /etc/default/grub
.
To update the kernel parameter in grub2, edit the /etc/default/grub
file first. For adding nomodeset
, add it to the line for GRUB_CMDLINE_LINUX_DEFAULT
like
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
The regenerate the grub2 config file following this tutorial: http://www.systutorials.com/136638/how-to-regenerate-grub2-config-file-on-linux/ and you will have the parameter added in grub2 for the kernel.