On x86 systems, grub.cfg used to be located in 2 different places depending
on BIOS types; /boot/grug2/grub.cfg for legacy BIOS,
/boot/efi/EFI/redhat/grub.cfg for EFI BIOS.
However, from Fedora 34 and CentOS Stream 9, those are unified to
/boot/grub2/grub.cfg and grub-related tools read and modify it.
EFI BIOS reads /boot/grub2/grub.cfg indirectly via 'configfile' command
Modifying /boot/efi/EFI/redhat/grub.cfg will break such setup.