Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:qemupxeknife [2009/05/23 08:37] less1 |
wiki:qemupxeknife [2009/05/23 09:43] (current) less1 |
||
|---|---|---|---|
| Line 63: | Line 63: | ||
| $ qemu -bootp tftp://10.0.2.2//pxelinux.0 -tftp /home/myname/for_pxe_knife/ -fda gpxe.dsk | $ qemu -bootp tftp://10.0.2.2//pxelinux.0 -tftp /home/myname/for_pxe_knife/ -fda gpxe.dsk | ||
| </code> | </code> | ||
| + | at same time command | ||
| + | <code> | ||
| + | $ qemu -bootp /pxelinux.0 -tftp /home/myname/for_pxe_knife/ -fda gpxe.dsk | ||
| + | </code> | ||
| + | works. | ||
| + | |||
| Problem faced is,\\ | Problem faced is,\\ | ||
| it successfully downloads the //pxelinux.0// and executes it, | it successfully downloads the //pxelinux.0// and executes it, | ||
| but it fails when it is downloading pxelinux.cfg/default\\ | but it fails when it is downloading pxelinux.cfg/default\\ | ||
| It gives an error saying | It gives an error saying | ||
| - | <code>Unable to locate configuration file | + | <code> |
| + | TFTP prefix: tftp://10.0.2.2// | ||
| + | Trying to load: pxelinux.cfg/default | ||
| + | Unable to locate configuration file | ||
| + | |||
| + | Boot failed: press a key to retry, or wait for reset... | ||
| </code> | </code> | ||
| Line 84: | Line 95: | ||
| But if you provide gpxe.dsk instead of ./testing.img it uses gpxe.dsk stack and boots properly. | But if you provide gpxe.dsk instead of ./testing.img it uses gpxe.dsk stack and boots properly. | ||
| <code> | <code> | ||
| - | $ qemu -net nic -net user -boot n -fda ./gpxe.dsk -bootp /pxelinux.0 -tftp /home/minix-pravin/Etherboot/v2/pxeknife/pxeknife/ | + | $ qemu -net nic -net user -fda ./gpxe.dsk -bootp /pxelinux.0 -tftp /home/minix-pravin/Etherboot/v2/pxeknife/pxeknife/ |
| </code> | </code> | ||