stan via users composed on 2022-10-29 11:55 (UTC-0700): >> I hadn't even looked into creating a new partition under /boot/efi/EFI >> with a unique name, and what would be required for it to work. Is it >> really as simple as changing GRUB_DISTRIBUTOR= in /etc/default/grub, >> and everything else happens automatically?
> How would dnf know about that changed name in order to install the shim? DNF knows because it's a front-end to RPM, which operates according to the content of the grub2-efi rpm and /etc/default/grub, Grub's config file. Pretend it has .conf appended if necessary to understand. The value set for GRUB_DISTRIBUTOR= establishes the location on the ESP where the efi file(s) must be located. > How would the OS be installed initially, since the defaults are for the > current location? I have no idea whether the default location can be overridden /during/ Fedora installation. As long as the location has been made unique for each previous installation, it doesn't matter that the default is used initially. Just make # dnf reinstall shim-* grub2-efi-* grub2-common part of your standard first boot order of business, and the efi directory /should/ be good indefinitely. But, be on the lookout for unexpected changes to /etc/default/grub that might change it. There remains the issue of whose bootloader has priority in firmware memory, and on what occasions when OS maintenance activity has reason to touch it. Efibootmgr is the utility for managing the NVRAM entries while fully booted, while BIOS setup includes its own. My solution to avoiding OS touching is to install any bootloader at all on a minimal selection of installations, such as only one. On others that have a bootloader installed, I omit the ESP from their fstabs, preventing them from finding conditions prerequisite to touching. Finally, I build /boot/grub2/custom.cfg from scratch that uses volume LABELs and symlinks to kernels and initrds, and customize /etc/grub.d/ to cause its entries to head Grub's menu. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@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, report it: https://pagure.io/fedora-infrastructure/new_issue