There are bazillions of grub2/EFI threads on the net, but I found it difficult to find an answer to the question above. We have been told that in grub2 the configuration file is /boot/grub/grub.cfg. But when there are boot problems grub2 might end up in a command prompt (aka emergency shell) without any error message. So before being able to solve any problems it would be nice to understand how grub2 exactly tries to locate its configuration file.
How does grub2 find its configuration file in EFI boot?
grub2;uefi