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 [2009/02/10 18:39]
andytim
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 ([[http://​zoobab.wikidot.com/​local--files/​gpxe-http-boot/​gpxe.usb|binary version here]])+  - Compile or download gpxe.pdsk
-  - Type on the command line: <​code>​ qemu -hda gpxe.usb -net nic -net user -bootp http://​etherboot.org/​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>​
  
Line 26: Line 26:
 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. 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 the first slash from 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.+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 filenameso use the two slashes as you see them above unless your QEMU behaves differently.
  
 ===== Debugging gPXE with QEMU ===== ===== Debugging gPXE with QEMU =====

QR Code
QR Code qemu (generated for current page)