When being forced into GRUB rescue mode, run ls and ls <one_partition> to check available partitions and find the one that we should boot from [ref].

Then set prefix & root[ref]:

set root=(hdX,Y)

set prefix=(hdX,Y)/boot/grub

insmod n......