datasone / grub-mod-setup_var

A modified grub allowing tweaking hidden BIOS settings.
GNU General Public License v3.0
363 stars 38 forks source link

Rescue mode #39

Open tomboudiboudi opened 10 months ago

tomboudiboudi commented 10 months ago

Hi ! I downloaded your release of grub_setup_var to edit my Precision M5520 bios variables in order to unlock cpu adjustable voltage. I've rename your file as bootx64.efi and put it in EFI/Boot on a blank fat32 drive, which I managed to boot succefully. But when Grub command line shows up, it's stuck in rescue mode because of this error : '/boot/grub/i386-pc/normal.mod' not found

Any idea of how to get rid of it ?

datasone commented 9 months ago

It seems the system boots from x86 (32-bit) Legacy BIOS, where the grub finds mods from i386-pc. The target should be x86_64-efi for 64-bit UEFI systems.

Oddly the modded grub is a efi executable, which means it could only be boot in UEFI environment. So I think you may boot into wrong grub or need to adjust BIOS settings to boot in UEFI mode.