On 24 Jul 2022, at 00:40, Jonathan Billings
<billings(a)negate.org> wrote:
On Jul 23, 2022, at 16:15, Patrick Dupre <pdupre(a)gmx.com> wrote:
>
> What should I do to have
> nouveau.modeset=0
> added to the grub.cfg files ?
There are two options:
1.) Edit /etc/default/grub and add it to the kernel command line variable, then run
“grub2-mkconfig -o /boot/grub2/grub.cfg”
(No need to run it for the file in EFI, the default grub.cfg there sources this one)
2.) run:
grubby --update-kernel=ALL --args="nouveau.modeset=0"
I recommend always to use grubby. That way when new kernels are installed
the new kernel will get your command line changes.
Expect things to break if you edit the files directly.
Barry
I prefer the first but if you’ve ever used grubby before, it hard-codes the kernel
command line in each bootloader spec file so you are stuck using grubby for the rest of
the life of the install.
--
Jonathan Billings
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure