In my install of Kali, the grub2 variable $prefix is set to (hd0,gpt3)/@/boot/grub

I need to alter its value for a system configuration.

Where is it declared and set to (hd0,gpt3)/@/boot/grub ?...