Open paulmenzel opened 6 years ago
On the edk2-devel list I was told, that the error comes from relocate_coff
.
[…]
while (RelocBase < RelocBaseEnd) {
Reloc = (UINT16 *) ((char *) RelocBase + sizeof (EFI_IMAGE_BASE_RELOCATION));
if ((RelocBase->SizeOfBlock == 0) || (RelocBase->SizeOfBlock > context->RelocDir->Size)) {
perror(L"Reloc %d block size %d is invalid\n", n, RelocBase->SizeOfBlock);
return EFI_UNSUPPORTED;
}
[…]
}
"[edk2] Booting ISO gives `Reloc 0 block size 2756420659 is invalid`"
context->RelocDir->Size
should probably also be printed in the error message.
On the two Dell laptops XPS 13 9360 and 9370 and with OVMF and QEMU the Grml live image cannot be started from a USB device.
The error on the Dell display is:
With OVMF I only get the first two lines.
Here is how you can reproduce this with QEMU.
Download the Grml ISO file, and follow How to run OVMF in the Wiki. I downloaded Gerd’s prebuilt images and extracted them.
Then I did
mkdir hda-contents
and run QEMU with the command below.