Do not know Rocky.
UEFI boots using the ESP. Normal boot process with grub is that UEFI uses file in ESP defined by GUID/partUUID. see
sudo efibootmgr -v
And then grub in ESP uses grub.cfg for most installs to find the full grub.cfg in your install using UUID. If you have lsblk
lsblk -e 7 -o name,fstype,size,fsused,label,partlabel,mountpoint,uuid,partuuid