运行Bochs虚拟机时的异常情况分析

来源:互联网 发布:视频音乐下载软件 编辑:程序博客网 时间:2024/04/29 02:26

1.

D:/Program Files/Bochs-2.4.2/Tinix/chapter2/win>"D:/Program Files/Bochs-2.4.2/bochs" -q -f bochsrc.bxrc
========================================================================
                       Bochs x86 Emulator 2.4.2
             Build from CVS snapshot on November 12, 2009
========================================================================
00000000000i[     ] reading configuration from bochsrc.bxrc
00000000000i[     ] installing win32 module as the Bochs GUI
00000000000i[     ] using log file bochsout.txt
========================================================================
Bochs is exiting with the following message:
[MEM0 ] ROM: System BIOS must end at 0xfffff
========================================================================

这是因为bochsrc.bxrc文件中的romimage: file=$BXSHARE/BIOS-bochs-latest后面加上了address=0xf0000,去掉这个就OK了。详细原因留待进一步分析。

 

2.

D:/Program/Tinix/debug>"D:/Program Files/Bochs-2.4.2/bochs" -q -f bochsrc.bxrc
========================================================================
                       Bochs x86 Emulator 2.4.2
             Build from CVS snapshot on November 12, 2009
========================================================================
00000000000i[     ] reading configuration from bochsrc.bxrc
00000000000i[     ] installing win32 module as the Bochs GUI
00000000000i[     ] using log file bochsout.txt
# In bx_win32_gui_c::exit(void)!
========================================================================
Bochs is exiting with the following message:
[BIOS ] No bootable device.
========================================================================
提示 no bootable device。这个应该是img镜像文件出了问题,boot的代码不正确导致。

原创粉丝点击