<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Oct 2020 at 11:49, Steininger, Herbert <<a href="mailto:herbert_steininger@psych.mpg.de">herbert_steininger@psych.mpg.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have dnsmasq (built-in tftp enabled) and apache.<br>
<br>
Legacy PXE Boot is working fine.<br>
<br>
I also want to boot Win10 Install Images through UEFI.<br>
<br>
This works when I use ipxe as a boot-file in dnsmasq, as expected.<br>
I'm able to chainload wimboot/win10 from CLI or load from an embedded script in ipxe, both works.<br>
<br>
But I would like to boot grub (BOOTX64.EFI) and chainload ipxe from it.<br>
Well, this also work, at the beginning.<br>
<br>
After UEFI-PXE boots my grub.cfg shows up.<br>
I select "Windows 10 Install" which looks like this in grub.cfg:<br>
<br>
menuentry "Windows 10 Install" --id win10 {<br>
    insmod chain<br>
    chainloader (tftp)/ipxe.efi<br>
}<br>
<br>
<br>
this loads the ipxe.efi from the tftp, and the embedded ipxe-script loads a boot.ipxe from apache, this also works,<br>
I see it in the logs and ipxe says "ok".<br>
<br>
But after that the Win10 install does not start, it will just fall back to the grub.cfg and no keypresses are recognized anymore.<br>
<br>
<br>
Do someone have a clue what is going on or what I can do to debug?<br>
Is there something missing?<br>
<br>
TIA,<br>
Herbert<br><br></blockquote><div><br></div><div>Hi,</div><div>So to be clear, the EFI boot path works fine when ipxe is loaded directly and not via grub?</div><div>But when you chain ipxe from grub then wimboot and the windows env fails?</div><div><br></div><div>How does your iPXE script look like?</div><div>Have you tried adding appropriate debug flags to wimboot, and also have you done a imgstat before your wimboot "boot" line to make sure there is no unexpected files loaded?</div><div><br></div><div>/Christian</div></div></div>