<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Everyone,<div><br></div><div> I have an existing installation of pxelinux from which I am booting a xen hypervisor. </div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">                </span>DEFAULT xen</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>SERIAL 0 57600</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>PROMPT 1</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>TIMEOUT 1</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>label xen</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>KERNEL mboot.c32</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>APPEND xen-3.3.gz dom0_mem=1024M noreboot --- vmlinuz-2.6.24-24-xen ro root=/dev/sda1 all-generic-ide irqpoll panic=0 --- initrd.img-2.6.24-24-xen</div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>LABEL localboot</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>LOCALBOOT 0</div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I wish to translate this config into a gpxe compatible one. I've been looking around online, and I've seen two solutions, one using the native mulitboot support and the other using the mboot.c32. </div><div> However neither will successfully boot the machine. I will post both configs and the resulting logs:</div><div><br></div><div> NATIVE GPXE MULTIBOOT METHOD</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>#!gpxe</div><div><br></div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>dhcp net0</div><div><br></div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>kernel <a href="http://140.221.37.24/xen-3.3">http://140.221.37.24/xen-3.3</a> dom0_mem=1024M noreboot</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>module <a href="http://140.221.37.24/vmlinuz-2.6.24-24-xen">http://140.221.37.24/vmlinuz-2.6.24-24-xen</a> ro root=/dev/sda1 all-generic-ide irqpoll panic=0</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>module <a href="http://140.221.37.24/initrd.img-2.6.24-24-xen">http://140.221.37.24/initrd.img-2.6.24-24-xen</a></div><div><br></div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>imgstat</div><div><br></div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>boot</div></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>------------</div><div><br></div><div><div>gPXE 1.0.0+ -- Open Source Boot Firmware -- <a href="http://etherboot.org">http://etherboot.org</a></div><div>Features: HTTP HTTPS TFTP DNS AoE iSCSI bzImage ELF PXE Multiboot COMBOOT PXEXT</div><div><br></div><div>net0: 00:17:31:f9:c8:7f on UNDI (open) </div><div> [Link:up, TX:0 TXE:0 RX:0 RXE:0]</div><div>DHCP (net0 00:17:31:f9:c8:7f)DHCP 0x1c504 entering discovery state</div><div>.DHCP 0x1c504 DHCPDISCOVER</div><div>DHCP 0x1c504 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31</div><div>.DHCP 0x1c504 DHCPDISCOVER</div><div>DHCP 0x1c504 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31 dup</div><div>..DHCP 0x1c504 entering request state</div><div>DHCP 0x1c504 DHCPREQUEST to 140.221.37.24:67 for 140.221.37.31</div><div>DHCP 0x1c504 DHCPACK from 140.221.37.24:67 for 140.221.37.31</div><div>DNS using nameserver 140.221.9.6</div><div>DNS local domain <a href="http://mcs.anl.gov">mcs.anl.gov</a></div><div> ok</div><div>net0: 140.221.37.31/255.255.255.0 gw 140.221.37.1</div><div>Booting from filename "<a href="http://140.221.37.24:8089/bootconfig">http://140.221.37.24:8089/bootconfig</a>"</div><div><a href="http://140.221.37.24:8089/bootconfig.HTTP">http://140.221.37.24:8089/bootconfig.HTTP</a> 0x1c5e4 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1c5e4 header "Date: Fri, 11 Jun 2010 15:42:53 GMT"</div><div>HTTP 0x1c5e4 header "Content-Length: 247"</div><div>HTTP 0x1c5e4 header "Content-Type: text/html;charset=utf-8"</div><div>HTTP 0x1c5e4 header "Server: CherryPy/3.2.0rc1"</div><div>HTTP 0x1c5e4 start of data</div><div>MULTIBOOT 0x1c504 has no multiboot header</div><div>COMBOOT 0x1c504: name 'bootconfig'</div><div>COMBOOT 0x1c504: no extension</div><div>. ok</div><div>DHCP (net0 00:17:31:f9:c8:7f)DHCP 0x1c9f4 entering discovery state</div><div>.DHCP 0x1c9f4 DHCPDISCOVER</div><div>DHCP 0x1c9f4 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31</div><div>.DHCP 0x1c9f4 DHCPDISCOVER</div><div>DHCP 0x1c9f4 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31 dup</div><div>..DHCP 0x1c9f4 entering request state</div><div>DHCP 0x1c9f4 DHCPREQUEST to 140.221.37.24:67 for 140.221.37.31</div><div>DHCP 0x1c9f4 DHCPACK from 140.221.37.24:67 for 140.221.37.31</div><div>DNS using nameserver 140.221.9.6</div><div>DNS local domain <a href="http://mcs.anl.gov">mcs.anl.gov</a></div><div> ok</div><div><a href="http://140.221.37.24/xen-3.3.HTTP">http://140.221.37.24/xen-3.3.HTTP</a> 0x1c834 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1c834 header "Date: Fri, 11 Jun 2010 15:42:57 GMT"</div><div>HTTP 0x1c834 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1c834 header "Last-Modified: Fri, 11 Jun 2010 13:44:58 GMT"</div><div>HTTP 0x1c834 header "ETag: "3fe44-fc7f4-488c15847aa80""</div><div>HTTP 0x1c834 header "Accept-Ranges: bytes"</div><div>HTTP 0x1c834 header "Content-Length: 1034228"</div><div>HTTP 0x1c834 header "Connection: close"</div><div>HTTP 0x1c834 header "Content-Type: text/plain"</div><div>HTTP 0x1c834 start of data</div><div>MULTIBOOT 0x1c6b4 found header with flags 00000003</div><div> ok</div><div><a href="http://140.221.37.24/vmlinuz-2.6.24-24-xen.HTTP">http://140.221.37.24/vmlinuz-2.6.24-24-xen.HTTP</a> 0x1cd04 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1cd04 header "Date: Fri, 11 Jun 2010 15:42:57 GMT"</div><div>HTTP 0x1cd04 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1cd04 header "Last-Modified: Fri, 11 Jun 2010 13:45:34 GMT"</div><div>HTTP 0x1cd04 header "ETag: "3fe41-1ceacb-488c15a6cfb80""</div><div>HTTP 0x1cd04 header "Accept-Ranges: bytes"</div><div>HTTP 0x1cd04 header "Content-Length: 1895115"</div><div>HTTP 0x1cd04 header "Connection: close"</div><div>HTTP 0x1cd04 header "Content-Type: text/plain"</div><div>HTTP 0x1cd04 start of data</div><div> ok</div><div><a href="http://140.221.37.24/initrd.img-2.6.24-24-xen.HTTP">http://140.221.37.24/initrd.img-2.6.24-24-xen.HTTP</a> 0x1cf04 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1cf04 header "Date: Fri, 11 Jun 2010 15:42:58 GMT"</div><div>HTTP 0x1cf04 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1cf04 header "Last-Modified: Fri, 11 Jun 2010 13:45:45 GMT"</div><div>HTTP 0x1cf04 header "ETag: "3fe42-758d7c-488c15b14d440""</div><div>HTTP 0x1cf04 header "Accept-Ranges: bytes"</div><div>HTTP 0x1cf04 header "Content-Length: 7703932"</div><div>HTTP 0x1cf04 header "Connection: close"</div><div>HTTP 0x1cf04 header "Content-Type: text/plain"</div><div>HTTP 0x1cf04 start of data</div><div>. ok</div><div>xen-3.3: 1034228 bytes [Multiboot] [LOADED] "dom0_mem=1024M noreboot"</div><div>vmlinuz-2.6.24-: 1895115 bytes "ro root=/dev/sda1 all-generic-ide irqpoll panic=0"</div><div>initrd.img-2.6.: 7703932 bytes ""</div><div>MULTIBOOT 0x1c6b4 module 0 is [d749c000,d7bf4d7c)</div><div>MULTIBOOT 0x1c6b4 module 1 is [d7bf5000,d7dc3acb)</div><div>MULTIBOOT 0x1c6b4 starting execution at 100000</div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>... And it just hangs here forever.</div><div><br></div></div><div><br></div><div><br></div><div> MBOOT.C32 METHOD</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>#!gpxe</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>dhcp net0</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>kernel -n mboot.c32 <a href="http://140.221.37.24/mboot.c32">http://140.221.37.24/mboot.c32</a></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>imgfetch -n xen-3.3 <a href="http://140.221.37.24/xen-3.3">http://140.221.37.24/xen-3.3</a> dom0_mem=1024M noreboot</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>imgfetch -n vmlinuz-2.6.24-24-xen <a href="http://140.221.37.24/vmlinuz-2.6.24-24-xen">http://140.221.37.24/vmlinuz-2.6.24-24-xen</a> ro root=/dev/sda1 all-generic-ide irqpoll panic=0</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>imgfetch -n initrd.img-2.6.24-24-xen <a href="http://140.221.37.24/initrd.img-2.6.24-24-xen">http://140.221.37.24/initrd.img-2.6.24-24-xen</a></div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>imgargs mboot.c32 xen-3.3 dom0_mem=1024M noreboot --- vmlinuz-2.6.24-24-xen ro root=/dev/sda1 all-generic-ide irqpoll panic=0 --- initrd.img-2.6.24-24-xen</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>imgstat</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>boot mboot.c32</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>--------</div><div><br></div><div><div>gPXE 1.0.0+ -- Open Source Boot Firmware -- <a href="http://etherboot.org">http://etherboot.org</a></div><div>Features: HTTP HTTPS TFTP DNS AoE iSCSI bzImage ELF PXE Multiboot COMBOOT PXEXT</div><div><br></div><div>net0: 00:17:31:f9:c8:7f on UNDI (open) </div><div> [Link:up, TX:0 TXE:0 RX:0 RXE:0]</div><div>DHCP (net0 00:17:31:f9:c8:7f)DHCP 0x1c504 entering discovery state</div><div>.DHCP 0x1c504 DHCPDISCOVER</div><div>DHCP 0x1c504 DHCPOFFER from 140.221.37.24:67 has bad transaction ID</div><div>DHCP 0x1c504 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31</div><div>.DHCP 0x1c504 DHCPDISCOVER</div><div>DHCP 0x1c504 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31 dup</div><div>DHCP 0x1c504 DHCPOFFER from 140.221.37.24:67 has bad transaction ID</div><div>.DHCP 0x1c504 entering request state</div><div>.DHCP 0x1c504 DHCPREQUEST to 140.221.37.24:67 for 140.221.37.31</div><div>DHCP 0x1c504 DHCPACK from 140.221.37.24:67 for 140.221.37.31</div><div>DNS using nameserver 140.221.9.6</div><div>DNS local domain <a href="http://mcs.anl.gov">mcs.anl.gov</a></div><div> ok</div><div>net0: 140.221.37.31/255.255.255.0 gw 140.221.37.1</div><div>Booting from filename "<a href="http://140.221.37.24:8089/bootconfig">http://140.221.37.24:8089/bootconfig</a>"</div><div><a href="http://140.221.37.24:8089/bootconfig.HTTP">http://140.221.37.24:8089/bootconfig.HTTP</a> 0x1c5e4 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1c5e4 header "Date: Fri, 11 Jun 2010 15:29:24 GMT"</div><div>HTTP 0x1c5e4 header "Content-Length: 534"</div><div>HTTP 0x1c5e4 header "Content-Type: text/html;charset=utf-8"</div><div>HTTP 0x1c5e4 header "Server: CherryPy/3.2.0rc1"</div><div>HTTP 0x1c5e4 start of data</div><div>MULTIBOOT 0x1c504 has no multiboot header</div><div>COMBOOT 0x1c504: name 'bootconfig'</div><div>COMBOOT 0x1c504: no extension</div><div>. ok</div><div>DHCP (net0 00:17:31:f9:c8:7f)DHCP 0x1c9f4 entering discovery state</div><div>.DHCP 0x1c9f4 DHCPDISCOVER</div><div>DHCP 0x1c9f4 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31</div><div>DHCP 0x1c9f4 DHCPACK from 140.221.37.24:67 has bad transaction ID</div><div>.DHCP 0x1c9f4 DHCPDISCOVER</div><div>DHCP 0x1c9f4 DHCPOFFER from 140.221.37.24:67 for 140.221.37.31 dup</div><div>..DHCP 0x1c9f4 entering request state</div><div>DHCP 0x1c9f4 DHCPREQUEST to 140.221.37.24:67 for 140.221.37.31</div><div>DHCP 0x1c9f4 DHCPACK from 140.221.37.24:67 for 140.221.37.31</div><div>DNS using nameserver 140.221.9.6</div><div>DNS local domain <a href="http://mcs.anl.gov">mcs.anl.gov</a></div><div> ok</div><div><a href="http://140.221.37.24/mboot.c32.HTTP">http://140.221.37.24/mboot.c32.HTTP</a> 0x1c834 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1c834 header "Date: Fri, 11 Jun 2010 15:29:28 GMT"</div><div>HTTP 0x1c834 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1c834 header "Last-Modified: Fri, 11 Jun 2010 15:10:24 GMT"</div><div>HTTP 0x1c834 header "ETag: "3fe43-76ac-488c289d03800""</div><div>HTTP 0x1c834 header "Accept-Ranges: bytes"</div><div>HTTP 0x1c834 header "Content-Length: 30380"</div><div>HTTP 0x1c834 header "Connection: close"</div><div>HTTP 0x1c834 header "Content-Type: text/plain"</div><div>HTTP 0x1c834 header "X-Pad: avoid browser bug"</div><div>HTTP 0x1c834 start of data</div><div>MULTIBOOT 0x1c6b4 has no multiboot header</div><div> ok</div><div><a href="http://140.221.37.24/xen-3.3.HTTP">http://140.221.37.24/xen-3.3.HTTP</a> 0x1ca54 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1ca54 header "Date: Fri, 11 Jun 2010 15:29:29 GMT"</div><div>HTTP 0x1ca54 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1ca54 header "Last-Modified: Fri, 11 Jun 2010 13:44:58 GMT"</div><div>HTTP 0x1ca54 header "ETag: "3fe44-fc7f4-488c15847aa80""</div><div>HTTP 0x1ca54 header "Accept-Ranges: bytes"</div><div>HTTP 0x1ca54 header "Content-Length: 1034228"</div><div>HTTP 0x1ca54 header "Connection: close"</div><div>HTTP 0x1ca54 header "Content-Type: text/plain"</div><div>HTTP 0x1ca54 start of data</div><div> ok</div><div><a href="http://140.221.37.24/vmlinuz-2.6.24-24-xen.HTTP">http://140.221.37.24/vmlinuz-2.6.24-24-xen.HTTP</a> 0x1cf04 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1cf04 header "Date: Fri, 11 Jun 2010 15:29:29 GMT"</div><div>HTTP 0x1cf04 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1cf04 header "Last-Modified: Fri, 11 Jun 2010 13:45:34 GMT"</div><div>HTTP 0x1cf04 header "ETag: "3fe41-1ceacb-488c15a6cfb80""</div><div>HTTP 0x1cf04 header "Accept-Ranges: bytes"</div><div>HTTP 0x1cf04 header "Content-Length: 1895115"</div><div>HTTP 0x1cf04 header "Connection: close"</div><div>HTTP 0x1cf04 header "Content-Type: text/plain"</div><div>HTTP 0x1cf04 start of data</div><div> ok</div><div><a href="http://140.221.37.24/initrd.img-2.6.24-24-xen.HTTP">http://140.221.37.24/initrd.img-2.6.24-24-xen.HTTP</a> 0x1d0b4 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1d0b4 header "Date: Fri, 11 Jun 2010 15:29:30 GMT"</div><div>HTTP 0x1d0b4 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1d0b4 header "Last-Modified: Fri, 11 Jun 2010 13:45:45 GMT"</div><div>HTTP 0x1d0b4 header "ETag: "3fe42-758d7c-488c15b14d440""</div><div>HTTP 0x1d0b4 header "Accept-Ranges: bytes"</div><div>HTTP 0x1d0b4 header "Content-Length: 7703932"</div><div>HTTP 0x1d0b4 header "Connection: close"</div><div>HTTP 0x1d0b4 header "Content-Type: text/plain"</div><div>HTTP 0x1d0b4 start of data</div><div>. ok</div><div>mboot.c32: 30380 bytes [COM32] [LOADED] "xen-3.3 dom0_mem=1024M noreboot --- vmlinuz-2.6.24-24-xen ro root=/dev/sda1 all-generic-ide irqpoll panic=0 --- initrd.img-2.6.24-24-xen"</div><div>xen-3.3: 1034228 bytes "dom0_mem=1024M noreboot"</div><div>vmlinuz-2.6.24-: 1895115 bytes "ro root=/dev/sda1 all-generic-ide irqpoll panic=0"</div><div>initrd.img-2.6.: 7703932 bytes ""</div><div>Loading xen-3.3... HTTP 0x1d264 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1d264 header "Date: Fri, 11 Jun 2010 15:29:32 GMT"</div><div>HTTP 0x1d264 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1d264 header "Last-Modified: Fri, 11 Jun 2010 13:44:58 GMT"</div><div>HTTP 0x1d264 header "ETag: "3fe44-fc7f4-488c15847aa80""</div><div>HTTP 0x1d264 header "Accept-Ranges: bytes"</div><div>HTTP 0x1d264 header "Content-Length: 1034228"</div><div>HTTP 0x1d264 header "Connection: close"</div><div>HTTP 0x1d264 header "Content-Type: text/plain"</div><div>HTTP 0x1d264 start of data</div><div>ok</div><div>Loading vmlinuz-2.6.24-24-xen... HTTP 0x1d464 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1d464 header "Date: Fri, 11 Jun 2010 15:29:32 GMT"</div><div>HTTP 0x1d464 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1d464 header "Last-Modified: Fri, 11 Jun 2010 13:45:34 GMT"</div><div>HTTP 0x1d464 header "ETag: "3fe41-1ceacb-488c15a6cfb80""</div><div>HTTP 0x1d464 header "Accept-Ranges: bytes"</div><div>HTTP 0x1d464 header "Content-Length: 1895115"</div><div>HTTP 0x1d464 header "Connection: close"</div><div>HTTP 0x1d464 header "Content-Type: text/plain"</div><div>HTTP 0x1d464 start of data</div><div>ok</div><div>Loading initrd.img-2.6.24-24-xen... HTTP 0x1d464 response "HTTP/1.1 200 OK"</div><div>HTTP 0x1d464 header "Date: Fri, 11 Jun 2010 15:29:33 GMT"</div><div>HTTP 0x1d464 header "Server: Apache/2.2.14 (Ubuntu)"</div><div>HTTP 0x1d464 header "Last-Modified: Fri, 11 Jun 2010 13:45:45 GMT"</div><div>HTTP 0x1d464 header "ETag: "3fe42-758d7c-488c15b14d440""</div><div>HTTP 0x1d464 header "Accept-Ranges: bytes"</div><div>HTTP 0x1d464 header "Content-Length: 7703932"</div><div>HTTP 0x1d464 header "Connection: close"</div><div>HTTP 0x1d464 header "Content-Type: text/plain"</div><div>HTTP 0x1d464 start of data</div><div>ok</div><div>mboot.c32: boot failed</div><div>No more network devices</div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I'm not sure what I should try next, and I'm hoping this list will have some ideas I haven't thought of.</div><div><br></div><div> -- Nathan Mitchell</div></div><div><br></div><div><br></div><div><br></div></div></div></body></html>