How to Add “nomodeset” to Grub2 in Fedora and Ubuntu

I 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?

asked Jul 5, 2015 by anonymous

1 Answer

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: and you will have the parameter added in grub2 for the kernel.

answered Jul 5, 2015 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost