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

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

 



It appears that the problem is that my machine thinks it is booting in non efi mode but is in fact booting in UEFI mode.   How do I fix this ?

On Tue, Jun 9, 2020 at 12:49 PM linux guy <linuxguy123@xxxxxxxxx> wrote:
Thank you for sharing that !   Here is my /etc/default/grub.  It blacklists the nouveau driver.

How do I tell how my computer is booting (UEFI or not) and how do I set up the parameters if its booting UEFI ?

GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rd.lvm.lv=fedora/ro>
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG="true"




On Tue, Jun 9, 2020 at 12:39 PM Robert McBroom via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On 6/9/20 1:43 PM, linux guy wrote:
This is pretty interesting because I am trying to fix a problem caused by transitioning from nouveau drivers to the Nvidia drivers.  I installed the Nvidia drivers but my system continues to boot the nouveau drivers.   If I blacklist the nouveau drivers, my system boots and runs the Nvidia drivers just fine.   The kernel parameters I want to add are for blacklisting the nouveau driver.  (See above).




I just installed Fedora 32 on a machine 2 days ago, and had to install
the nvidia drivers because nouveau kept crashing (alas!).  I installed
the rpmfusion akmod-nvidia package, and the corresponding kernel entry
has this:

options $kernelopts

So it looks like the grubby issue has been fixed.
--

So far this setup still works for a legacy non-efi boot

/etc/default/grub

GRUB_TIMEOUT=15
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT="Windows 10 (loader) (on /dev/sda1)"
GRUB_GFXMODE=1280x1024x32
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True  KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 vga=791 "
GRUB_THEME="/boot/grub2/themes/system/theme.txt"
# GRUB_THEME=/boot/grub2/themes/starfield/theme.txt

GRUB_ENABLE_BLSCFG=true


Have yet to get the gfxmode line to do anything with the grub screen though.

_______________________________________________
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