On 9/3/21 2:26 AM, Hans de Goede wrote:
It might be interesting to try and using e.g. an EFI
grub binary from Ubuntu with a:

        linux <path>/pcmemtest.efi


I created a UEFI VM running Debian 11 to try that out.  It doesn't work there, but I'm seeing in consistent results.  The first time around selecting that GRUB entry would crash the VM with an error logged*, but after shutting the VM off and then starting it again, that entry just causes the VM to reboot immediately.

However, "chainloader /boot/pcmemtest.efi" does work in the Debian VM, and I'm told also under openSUSE (https://lists.gnu.org/archive/html/help-grub/2021-09/msg00001.html) but not under Fedora.

Does Fedora GRUB also contain changes that might interfere with chainloading?  I believe that some people are using it to chainload the Windows boot loader, but maybe it only works for binaries with signatures?



*: Log contains:

KVM internal error. Suberror: 1
emulation failure
EAX=80010033 EBX=00000000 ECX=c0000080 EDX=00000000
ESI=00088ffe EDI=00000000 EBP=00000000 ESP=00137100
EIP=0010027a EFL=00200086 [--S--P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
CS =0010 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
SS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
FS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
GS =0018 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS64-busy
GDT=     00000000000010d0 00000020
IDT=     000000003f573018 00000fff
CR0=80010033 CR2=0000000000000000 CR3=0000000000010000 CR4=00000668
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d00
Code=?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? <??> ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to