###############################################################
# Configuration file for Bochs
###############################################################
# how much memory the emulated machine will have
megs: 32
# filename of ROM images
romimage: file=/你bochs-2.4.6的路径/bios/BIOS-bochs-latest
vgaromimage: file=你bochs-2.4.6的路径/bios/VGABIOS-lgpl-latest
# what disk images will be used
floppya: 1_44=pm.img, status=inserted
# choose the boot disk.
boot: floppy
# where do we send log messages?
log: bochsout.txt
# disable the mouse
mouse: enabled=0
# enable key mapping, using US layout as default.
keyboard_mapping: enabled=1, map=你bochs-2.4.6的路径/gui/keymaps/x11-pc-us.map
保存到 你bochs-2.4.6的路径 名字是 bochsrc
终端 输入 bochs -f bochsrc 以配置bochsrc启动
sudo apt-get install bochs
这样安装结束后,在我使用bochc的时候出现了下列错误:
Event type: PANIC
Device: [ ]
Message: dlopen failed for module 'x': file not found
这是由于在安装的时候,少安装了个bochs-x包
这个包可以在http://packages.ubuntu.com/dapper/misc/bochs-x找到
也可以在terminal下面输入
sudo apt-get install bochs-x
sudo apt-get install bochs-x