command you can browse disk and fin the correct position of grub.cfg file. Then digit configfile (https://phoenixnap.com/kb/grub-rescue) with the grub.cfg path. System will boot. Then run:
ls /dev/sd*
to find your disk and then reinstall grub, for example: