Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:qemupxeknife [2009/05/22 19:39]
less1
wiki:qemupxeknife [2009/05/23 09:43] (current)
less1
Line 48: Line 48:
 <​code>​ <​code>​
 $ qemu -net nic -net user -boot n -hda ./​testing.img -bootp /pxelinux.0 -tftp /​home/​myname/​for_pxe_knife/​ $ qemu -net nic -net user -boot n -hda ./​testing.img -bootp /pxelinux.0 -tftp /​home/​myname/​for_pxe_knife/​
 +$ qemu -net nic -net user -fda ./gpxe.dsk -bootp /pxelinux.0 -tftp /​home/​myname/​for_pxe_knife/​
 </​code>​ </​code>​
 for following version of qemu version qemu version 0.10.0 for following version of qemu version qemu version 0.10.0
Line 56: Line 57:
  
 ==== Problems ==== ==== Problems ====
 +
 +As per me following command should have worked, but It did not worked
 +
 +<​code>​
 +$ qemu -bootp tftp://​10.0.2.2//​pxelinux.0 -tftp /​home/​myname/​for_pxe_knife/​ -fda gpxe.dsk
 +</​code>​
 +at same time command
 +<​code>​
 +$ qemu -bootp /pxelinux.0 -tftp /​home/​myname/​for_pxe_knife/​ -fda gpxe.dsk
 +</​code>​
 +works.
 +
 +Problem faced is,\\
 +it successfully downloads the //​pxelinux.0//​ and executes it,
 +but it fails when it is downloading pxelinux.cfg/​default\\
 +It gives an error saying
 +<​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>​
 +
  
 Note : There are some versions of qemu for which network boot option did not worked. Note : There are some versions of qemu for which network boot option did not worked.
Line 67: Line 92:
 QEMU PC emulator version 0.9.1, Copyright (c) 2003-2008 Fabrice Bellard QEMU PC emulator version 0.9.1, Copyright (c) 2003-2008 Fabrice Bellard
 </​code>​ </​code>​
 +
 +But if you provide gpxe.dsk instead of ./​testing.img it uses gpxe.dsk stack and boots properly.
 +<​code>​
 +$ qemu -net nic -net user -fda ./gpxe.dsk -bootp /pxelinux.0 -tftp /​home/​minix-pravin/​Etherboot/​v2/​pxeknife/​pxeknife/ ​
 +</​code>​
 +
  
  
Line 73: Line 104:
   - [[http://​syslinux.zytor.com/​wiki/​index.php/​Development/​Testing]] for using qemu with pxelinux.   - [[http://​syslinux.zytor.com/​wiki/​index.php/​Development/​Testing]] for using qemu with pxelinux.
  
-===== Get PXE Knife working with QEMU with http =====+
  
  

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

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