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
qemu [2008/07/24 04:34]
zoobab
qemu [2009/04/15 19:55] (current)
warthog9 Flip from .usb to pdsk as .usb no longer works
Line 4: Line 4:
  
   - Install Qemu   - Install Qemu
-  - Compile or download gpxe.usb (binary version here)+  - Compile or download gpxe.pdsk
-  - Type: <​code>​ qemu -hda bin/gpxe.usb -net nic -net user -bootp http://quark.entity.com/​gtest/​gtest.gpxe </​code>​+  - Type on the command line: <​code>​ qemu -fda gpxe.pdsk -net nic -net user -bootp http://etherboot.org/​gtest/​gtest.gpxe </​code>​
  
 ===== Quick start ===== ===== Quick start =====
-First make sure you have ''​gpxe.usb''​ or ''​ns8390.usb''​. ​ You can download them from [[http://​rom-o-matic.net/​|ROM-o-matic.net]] or [[download|build them yourself]].+First make sure you have ''​gpxe.pdsk''​ or ''​ns8390.pdsk''​. ​ You can download them from [[http://​rom-o-matic.net/​|ROM-o-matic.net]] or [[download|build them yourself]].
  
 Here is how to **boot over HTTP**: Here is how to **boot over HTTP**:
 <​code>​ <​code>​
-qemu -bootp http://​server/​file gpxe.usb+qemu -bootp http://​server/​file gpxe.pdsk
 </​code>​ </​code>​
  
 Or to **boot using PXE**: Or to **boot using PXE**:
 <​code>​ <​code>​
-qemu -bootp tftp://​10.0.2.2/​pxefile -tftp /​path/​to/​pxedir gpxe.usb+qemu -bootp tftp://​10.0.2.2//pxefile -tftp /​path/​to/​pxedir ​-fda gpxe.pdsk
 </​code>​ </​code>​
  
 QEMU's built-in TFTP server serves files from ''/​path/​to/​pxedir''​ at IP address 10.0.2.2. QEMU's built-in TFTP server serves files from ''/​path/​to/​pxedir''​ at IP address 10.0.2.2.
  
-Note the ''​-bootp''​ option was added in QEMU 0.9.1. ​ For versions of QEMU before 0.9.1, the instructions from [[http://​git.etherboot.org/?​p=gpxe.git;​a=blob;​f=contrib/​bochs/​README.qemu;​hb=HEAD|contrib/​bochs/​README.qemu]] can be used.+NOTES: 
 + 
 +The ''​-bootp''​ option was added in QEMU 0.9.1. ​ For versions of QEMU before 0.9.1, the instructions from [[http://​git.etherboot.org/?​p=gpxe.git;​a=blob;​f=contrib/​bochs/​README.qemu;​hb=HEAD|contrib/​bochs/​README.qemu]] can be used
 + 
 +gPXE will strip one of the slashes immediately to the left of the actual filename in the -bootp URI you see above. ​ QEMU 0.9.1 //demands// that there be a leading slash before the filename, so use the two slashes as you see them above unless your QEMU behaves differently.
  
 ===== Debugging gPXE with QEMU ===== ===== Debugging gPXE with QEMU =====

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 qemu (generated for current page)