aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-04-16 03:15:08 +0100
committerMichael Brown <mcb30@etherboot.org>2009-04-16 03:15:08 +0100
commit7741546a406217827c3d4a8d72aaa322b2565c35 (patch)
treea871a7879a035e76ae17cc096dc5317e4d8f400c /contrib
parentb363d19a164c0741623182e327367d3f323c6cf8 (diff)
downloadipxe-7741546a406217827c3d4a8d72aaa322b2565c35.zip
ipxe-7741546a406217827c3d4a8d72aaa322b2565c35.tar.gz
ipxe-7741546a406217827c3d4a8d72aaa322b2565c35.tar.bz2
[build] Pad .rom, .dsk, and .hd images to 512-byte boundaries
QEMU will silently round down a disk or ROM image file to the nearest 512 bytes. Fix by always padding .rom, .dsk and .hd images to the nearest 512-byte boundary. Originally-fixed-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bochs/README.qemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bochs/README.qemu b/contrib/bochs/README.qemu
index 1857510..0c38897 100644
--- a/contrib/bochs/README.qemu
+++ b/contrib/bochs/README.qemu
@@ -47,13 +47,13 @@ To get qemu running is fairly simple:
8. Build gPXE floppy disk images and pad to 1.44MB
pushd ../../src
- make bin/rtl8139.pdsk
+ make bin/rtl8139.dsk
popd
9. Start qemu
./qemu/i386-softmmu/qemu -L qemu/pc-bios \
-net nic,model=rtl8139 -net tap,ifname=tap0 \
- -boot a -fda ../../src/bin/rtl8139.pdsk
+ -boot a -fda ../../src/bin/rtl8139.dsk
You should see qemu start up, load up gPXE and attempt to boot from
the network.