mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 14:16:47 +00:00
3 lines
145 B
Bash
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 |