From 94829aed1edf573ac43064a9eefe590060a1ab4f Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Tue, 21 Apr 2020 20:22:32 +0200 Subject: [PATCH] qemu-hdd: Use hdd image with full partition table --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d564f76..61f3b48 100644 --- a/Makefile +++ b/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 \