This is an old revision of the document!

Get PXE Knife working with QEMU over HTTP

I am taking similar approach as I took for TFTP for which QEMU + PXE Knife combination is working if I use qemu TFTP stack. Here are the things that are working for me.

qemu -net nic -net user -fda ./gpxe.dsk -bootp /pxelinux.0 -tftp /home/myname/for_pxe_knife/

which boots pxe-knife over tftp and

qemu -fda gpxe.dsk -net nic -net user -bootp

boots gtest.gpxe which is copy of

But when I try and use HTTP with qemu over pxe_knife which is based on pxelinux, it does not work.

qemu -fda gpxe.dsk -net nic -net user -bootp

It loads pxelinux.0 successfully, but fails in loading pxeknife/default file with error

TFTP prefix: tftp://
Trying to load: pxelinux.cfg/default
Unable to locate configuration file

Boot failed: press a key to retry, or wait for reset...

QR Code
QR Code wiki:qemupxeknifehttp (generated for current page)