<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 26, 2017 at 8:56 PM, Rich Dunn <span dir="ltr"><<a href="mailto:rich@clearwateranalytics.com" target="_blank">rich@clearwateranalytics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_4786443667511859097WordSection1">
<p class="MsoNormal">I am by no means an expert with ipxe but have been using it for a few weeks now.  I downloaded the ipxe.efi file from
<a href="http://boot.ipxe.org/ipxe.efi" target="_blank">http://boot.ipxe.org/ipxe.efi</a> and have it successfully loading and a menu to point to my Windows Deployment server or to load an Ubuntu install.  I am now trying to add XenServer to my menu but cannot get it to load. 
 I followed the instructions from <a href="http://ipxe.org/appnote/xenserver" target="_blank">http://ipxe.org/appnote/<wbr>xenserver</a> but that doesn’t seem to work on XenServer 7 or 7.1.  Is there something I’m doing wrong or does ipxe not work with the latest versions of XenServer
 yet?  When I boot I get the following output.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My ipxe menu file looks like this:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">#!ipxe<u></u><u></u></p>
<p class="MsoNormal">kernel <a href="http://ipxe.local/xenserver/boot/xen.gz" target="_blank">http://ipxe.local/xenserver/<wbr>boot/xen.gz</a> dom0_max_vcpus=1-2 dom0_mem=752M,max:752M com1=115200,8n1 console=com1,vga<u></u><u></u></p>
<p class="MsoNormal">module <a href="http://ipxe.local" target="_blank">http://ipxe.local</a> /xenserver/boot/vmlinux.gz console=hvc0 console=tty0 install<u></u><u></u></p>
<p class="MsoNormal">module <a href="http://ipxe.local" target="_blank">http://ipxe.local</a> /xenserver/install.img<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks for any help you can provide.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Rich</p></div>
</div><br></blockquote></div><br></div><div class="gmail_extra">In EFI mode what you boot have to be a EFI binary ... as the error page <a href="http://ipxe.org/2e008081">http://ipxe.org/2e008081</a> (that your error links to) explains, it needs to be compiled with the CONFIG_EFI_STUB kernel option enabled.<br><br>As a first step you might want to try and extract xen.gz and see if it then gets a valid PE header (the first magic bytes of a EFI executables must be PE to in any way be a vaild EFI binary)</div></div>