qemu-hdd: Use hdd image with full partition table
This commit is contained in:
parent
22c1d45e59
commit
94829aed1e
7
Makefile
7
Makefile
@ -87,6 +87,9 @@ part.img: fatc.bs $(DISTFILES)
|
||||
mcopy -i $@ $(DISTFILES) ::rdos
|
||||
mattrib -i $@ +s ::rdos ::rdos/kernel.bs
|
||||
|
||||
hdd.img: part.img mbr.bs
|
||||
cat $< > $@
|
||||
|
||||
clean:
|
||||
rm -f *.com *.bs *.0 *.lst *.img *.bin *.rom
|
||||
rm -rf utils
|
||||
@ -94,8 +97,8 @@ clean:
|
||||
qemu-floppy: fdimage.img $(ROMS)
|
||||
$(QEMU) $(QEMU_ARGS) -boot a -fda fdimage.img
|
||||
|
||||
qemu-hdd: part.img $(ROMS)
|
||||
$(QEMU) $(QEMU_ARGS) -boot c -hda part.img
|
||||
qemu-hdd: hdd.img $(ROMS)
|
||||
$(QEMU) $(QEMU_ARGS) -boot c -hda hdd.img
|
||||
|
||||
qemu-pxe: pxeboot.0 $(ROMS)
|
||||
$(QEMU) $(QEMU_ARGS) -boot n \
|
||||
|
Loading…
Reference in New Issue
Block a user