Re: How do I change the grub kernel boot parameters in F32 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



re: Adam Mercer's suggestion:

grubby --update-kernel=ALL --args="rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau nvidia-drm.modeset=1"

Grubby is already returning the right kernel parameters.  Not sure why I would need to run this.


re: As far as setting /etc/default/grub LINUX_CMDLINE args, those appear to
be used by grub2-mkconfig, not grubby.
So I ran this:

# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
Adding boot menu entry for EFI firmware configuration
done

and it made no difference.

So I ran this:

# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Adding boot menu entry for EFI firmware configuration
done

Also made no difference.







On Tue, Jun 9, 2020 at 3:24 PM Mike Wright <nobody@xxxxxxxxxxxxxxxxxxxx> wrote:
On 6/9/20 1:40 PM, linux guy wrote:
> So both grubby and /etc/default/grub are set up correctly to run the nvidia
> driver by blacklisting the nouveau driver.
>
> But when I boot and edit the grub menu (with e), the kernal parameter
> entries lack the blacklisting of the nouveau driver.
>
> According to this page
> https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader/
> grub.cfg is generated from /etc/default/grub from anaconda and I'm only
> supposed to run grub2-mkconfig as a last resort to regenerate grub.cfg.
>
> This article must be out of date because my machine has neither
> /boot/grub2/grub.cfg nor /boot/efi/EFI/fedora/grub.cfg
>
> This confuses things even more.
> https://fedoraproject.org/wiki/GRUB_2
>
> How do I properly change the kernel parameters in my grub boot menu ?

See the reply from Adam Mercer.  He gives the whole command line argument.

As far as setting /etc/default/grub LINUX_CMDLINE args, those appear to
be used by grub2-mkconfig, not grubby.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux