Re: [求助] QEMU操作问题

楼主: aoirx (漩涡鸣人)   2023-07-13 17:11:37
※ 引述《aoirx (漩涡鸣人)》之铭言:
: 在Windows 11环境下安装了QEMU
: qemu-w64-setup-20230629.exe
: 操作到以下步骤后就卡住
: 建立硬盘image档案
: qemu-img create hd.img 500M
: image: hd.img
: file format: raw
: virtual size: 500 MiB (524288000 bytes)
: disk size: 0 B
: Child node '/file':
: filename: hd.img
: protocol type: file
: file length: 500 MiB (524288000 bytes)
: disk size: 0 B
: 使用到开机片DOS 6.22 Boot Disk,解压缩之后复制到与 Qemu 相同目录中。
: 接着输入以下指令,需要对刚刚的硬盘初始化以及设定启动磁区。
: qemu -L . -hda hd.img -fda boot622.img -boot a
: 就卡在这里
: https://imgur.com/a/yjJPl1x
: 'qemu' 不是内部或外部命令、可执行的程式或批次档。
: 不知道是不是没有设定BIOS, 但是没有头绪该如何设定...
我找到原因了!
前后花了几天时间, 在网络搜寻QEMU的指令, 问题出在我把QEMU想得太单纯, 太简单.
在Windows 11环境下, 安装完QEMU之后,
进入命令提示字符, 切换到安装QEMU目录下,
问题出在, 我把qemu当成是执行档了...哈XD.
根据我要模拟的环境, 我应该把qemu -L . -hda hd.img -fda boot622.img -boot a
换成qemu-system

Links booklink

Contact Us: admin [ a t ] ucptt.com