Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:qemupxeknifehttp [2009/05/23 07:18] less1 created |
wiki:qemupxeknifehttp [2009/05/23 13:59] (current) less1 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Get PXE Knife working with QEMU over HTTP ====== | + | ====== 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> | ||
+ | |||
+ | or you can boot the online version of PXE-Knife using following command. | ||
+ | <code> | ||
+ | qemu -fda gpxe.dsk -net nic -net user -bootp http://alien.doesntexist.org/pxeknife/pxelinux.0 | ||
+ | </code> | ||
+ | |||
+ | ==== With gpxe embedded script ==== | ||
+ | I recompiled the gpxe with following embedded script ../contrib/scripts/forpxeknife.gpxe, | ||
+ | <code> | ||
+ | #!gpxe | ||
+ | echo "Hi, We will be using PXEKnife from URL http://www.alien.doesntexist.org/pxeknife/" | ||
+ | dhcp net0 | ||
+ | set 209:string /pxeknife.cfg/default | ||
+ | set 210:string http://www.alien.doesntexist.org/pxeknife/ | ||
+ | echo "Here we go" | ||
+ | chain http://www.alien.doesntexist.org/pxeknife/pxelinux.0 | ||
+ | </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> | ||
+ | |||
+ | ===== Ready to use PXE-Knife over HTTP ===== | ||
+ | If you want to try out PXE-Knife without installing then visit page [[pxeknifeOverHttp]] | ||
+ | |||
+ | |||
+ | ==== Problems ==== | ||
+ | In case you encounter any problems with this then you can refer the page [[QemuPxeKnifeHTTPProbs]] | ||