[ipxe-devel] chainload iPXE from grub.cfg

Christian Nilsson nikize at gmail.com
Thu Oct 22 10:53:05 UTC 2020


On Thu, 22 Oct 2020 at 11:49, Steininger, Herbert <
herbert_steininger at psych.mpg.de> wrote:

> 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
>
>
Hi,
So to be clear, the EFI boot path works fine when ipxe is loaded directly
and not via grub?
But when you chain ipxe from grub then wimboot and the windows env fails?

How does your iPXE script look like?
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?

/Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20201022/17848366/attachment.htm>


More information about the ipxe-devel mailing list