安装 bochs

###############################################################
 # 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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值