DragonOS/run_in_qemu.sh
2022-01-15 14:50:16 +08:00

3 lines
145 B
Bash

# 将引导程序写入boot.img
dd if=bin/boot.bin of=bin/boot.img bs=512 count=1 conv=notrunc
qemu-system-x86_64 -s -S -m 2048 -fda bin/boot.img