This is an old revision of the document!
====== Get PxeLinux and PXE-Knife working with QEMU over HTTP ====== Note : use latest version of Pxelinux to work over HTTP, for me version 3.80 worked. Following is the way to run Pxe-knife (or any pxelinux based system) over http. <code> qemu -fda gpxe.dsk -net nic -net user -bootp http://10.0.0.2/pxeknife/pxelinux.0 </code> ==== With gpxe embedded script ==== I recompiled the gpxe with following embedded script ../contrib/scripts/forpxeknife.gpxe, <code> #!gpxe echo "Hi there" dhcp net0 set 209:string pxelinux.cfg/default set 210:string http://10.0.0.2/pxeknife/ chain http://10.0.0.2/pxeknife/pxelinux.0 boot </code> and I compile with following command <code> make clean && make EMBEDDED_IMAGE=../contrib/scripts/forpxeknife.gpxe </code> I execute qemu with no extra parameters at-all. <code> qemu -fda gpxe.dsk </code>