[ipxe-devel] chainload iPXE from grub.cfg

Steininger, Herbert herbert_steininger at psych.mpg.de
Thu Oct 22 09:49:15 UTC 2020


Hi,

I have dnsmasq (built-in tftp enabled) and apache.

Legacy PXE Boot is working fine.

I also want to boot Win10 Install Images through UEFI.

This works when I use ipxe as a boot-file in dnsmasq, as expected.
I'm able to chainload wimboot/win10 from CLI or load from an embedded script in ipxe, both works.

But I would like to boot grub (BOOTX64.EFI) and chainload ipxe from it.
Well, this also work, at the beginning.

After UEFI-PXE boots my grub.cfg shows up.
I select "Windows 10 Install" which looks like this in grub.cfg:

menuentry "Windows 10 Install" --id win10 {
    insmod chain
    chainloader (tftp)/ipxe.efi
}


this loads the ipxe.efi from the tftp, and the embedded ipxe-script loads a boot.ipxe from apache, this also works,
I see it in the logs and ipxe says "ok".

But after that the Win10 install does not start, it will just fall back to the grub.cfg and no keypresses are recognized anymore.


Do someone have a clue what is going on or what I can do to debug?
Is there something missing?

TIA,
Herbert



More information about the ipxe-devel mailing list