On UEFI Systems, grub.cfg will be located at: /boot/efi/EFI/distribution/grub.cfg
For example, On RedHat UEFI-based systems, the configuration file is /boot/efi/EFI/redhat/grub.cfg.
/etc/grub2-efi.cfg is a symlink to that EFI File and that's the one I modified to avoid the following error on UEFI RHEL7 Systems and update grub configuration
Could not evaluate: Cannot find grub.cfg location to use with grub-mkconfig
Coverage remained the same at 96.226% when pulling 16e587ff147a8ed0956151fcf279f4e532a2d884 on stivesso:master into 36d078938cc152271e26b30b68c908e5b2b6bc03 on hercules-team:master.
On UEFI Systems, grub.cfg will be located at: /boot/efi/EFI/distribution/grub.cfg For example, On RedHat UEFI-based systems, the configuration file is /boot/efi/EFI/redhat/grub.cfg. /etc/grub2-efi.cfg is a symlink to that EFI File and that's the one I modified to avoid the following error on UEFI RHEL7 Systems and update grub configuration Could not evaluate: Cannot find grub.cfg location to use with grub-mkconfig