qemu-hdd: Use hdd image with full partition table

This commit is contained in:
Nero 2020-04-21 20:22:32 +02:00
parent 22c1d45e59
commit 94829aed1e

View File

@ -87,6 +87,9 @@ part.img: fatc.bs $(DISTFILES)
mcopy -i $@ $(DISTFILES) ::rdos mcopy -i $@ $(DISTFILES) ::rdos
mattrib -i $@ +s ::rdos ::rdos/kernel.bs mattrib -i $@ +s ::rdos ::rdos/kernel.bs
hdd.img: part.img mbr.bs
cat $< > $@
clean: clean:
rm -f *.com *.bs *.0 *.lst *.img *.bin *.rom rm -f *.com *.bs *.0 *.lst *.img *.bin *.rom
rm -rf utils rm -rf utils
@ -94,8 +97,8 @@ clean:
qemu-floppy: fdimage.img $(ROMS) qemu-floppy: fdimage.img $(ROMS)
$(QEMU) $(QEMU_ARGS) -boot a -fda fdimage.img $(QEMU) $(QEMU_ARGS) -boot a -fda fdimage.img
qemu-hdd: part.img $(ROMS) qemu-hdd: hdd.img $(ROMS)
$(QEMU) $(QEMU_ARGS) -boot c -hda part.img $(QEMU) $(QEMU_ARGS) -boot c -hda hdd.img
qemu-pxe: pxeboot.0 $(ROMS) qemu-pxe: pxeboot.0 $(ROMS)
$(QEMU) $(QEMU_ARGS) -boot n \ $(QEMU) $(QEMU_ARGS) -boot n \