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

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

 



On Sat, Jun 13, 2020 Stephen Morris <samorris@xxxxxxxxxxxxxxx> wrote:
> On 11/6/20 7:41 am, R. G. Newbury wrote:
>> On 2020-06-09 Stephen Morris<samorris@xxxxxxxxxxxxxxx> wrote:
>>>
>>> if in /etc/default/grub you have the entry GRUB_ENABLE_BLSCFG=true
>>> that inserts a line into the grub processes to use the new BLS
>>> standard, in which case grub2-mkconfig and possibly grubby do
>>> nothing until that entry is set to false. I have always use
>>> grub2-mkconfig because I have never liked what grubby generated,
>>> and what BLS generates appears to be the same as what grubby does,
>>> and I found that I had to set that entry to false for
>>> grub2-mkconfig to continue to work.
>>
>> THANKS FOR THAT, Steve!
>>
>> I could not get grub2-mkconfig to actually change the grub.cfg file.
>> Now I know why ( but not why such a dangerously misdescriptive
>> switch would be hidden away in a default file). In the past I would
>> just edit the damn file, but the new motherboard uses EFI, and such
>> hands-on fixing might lead to an undesired result!
>
> If you are booting via uefi with fedora then if you use grub2-mkconfig
> to update grub.cfg then you need to run it against
> /boot/efi/EFI/fedora/grub.cfg as that is where uefi looks for it,
> /boot/grub2/grub.cfg is only used for legacy non-uefi boots which also
> require grub2-install to be used to write the grub menus to the legacy
> mbr. Uefi doesn't require the mbr updates.

These regular more or less long threads on "grub.cfg" should be the
signal that Fedora's setting up grub incorrectly on EFI and should
adopt the Ubuntu setup with two config files:

1) /boot/efi/EFI/fedora/grub.cfg : generated by grub2-install and
solely there to set "prefix" to "(hdX,gptY)/boot/grub"

2) /boot/grub2/grub.cfg : generated by "grub2-mkconfig" just like BIOS systems
_______________________________________________
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