Grub_disk_native_sectors not found

After doing an apt upgrade this morning, I can no longer boot back into my dietpi. Instead, I got an “error: symbol ‘grub_disk_native_sectors’ not found” message and a drop to a grub rescue prompt.

Can someone please suggest to me on how I can boot back to dietpi? I’ve searched Google on this error message but haven’t got much luck with a solution.

Thank you very much for your kind assistance.

Probably GRUB was flashed to the wrong location. Do you have a backup available where you can restore the /boot/grub files from, or another similar Linux system where you can flash GRUB from?

Which type of machine is it and which Debian version?