On 02.09.2021 02:25, Gordon Messmer wrote: > I'm trying to load PCMemTest on a UEFI Fedora system. > > https://github.com/martinwhitaker/pcmemtest > > After placing the binary on the ESP, I'm able to create an entry with > efibootmgr to load it directly from the UEFI boot menu, and it works as > expected, so I'm certain that the binary is "good". > > However, I haven't been able to load the program from GRUB > successfully. The program's documentation says that it supports the > UEFI handover boot protocol, and I've tried loading it using "linux > /<path>/pcmemtest.efi", which doesn't seem to do anything. As far as I > can tell, the system halts. I've also tried chainloading the binary,
You should always show exact command(s) you used, not describe it. > and when that entry is selected, GRUB immediately returns to its menu. > I briefly tried pcmemtest from https://gordonmessmer.fedorapeople.org/pcmemtest-unsigned-x64/pcmemtest-unsigned-x64-efi-1.4-1.fc36.x86_64.rpm with grub 2.06 (openSUSE Tumbleweed) and it runs after chainloader (hd0,gpt1)/pcmemtest.efi boot or menu entry with chainloader (hd0,gpt1)/pcmemtest.efi > Does anyone have any basic hints for me at this point, either things > that I should try, or anything that might tell me what's happening after > the handover? > > Are you sure your grub binary supports chainloader command in the first place? Signed grub images do not include every possible grub module and disable external module loading.
