Bochs 在Ubuntu 14.04 LTS x64 下安装
2014-10-27 15:04
337 查看
sudo apt-get install bochs
sudo apt-get install bochs-x
安装好之后,将/etc/bochs-init/bochsrc 拷贝到主目录下,然后修改其中的内容
其中,pm.img是你自己制作的影像文件。
在命令行运行bochs 即可启动。
常见错误如下:
一. undefined symbol: XpmCreatePixmapFromData
解决方法:
sudo apt-get install bochs-sdl 安装好后在bochs的配置文件里面加一句 display_library: sdl
二. 'x' module not found
解决方法:sudo apt-get install bochs-x
三 unknown host key name 'XK_0' (wrong keymap ?)
解决方法:将配置文件中这句话 注释掉 keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map
四:ROM: System BIOS must end at 0xfffff
解决方法:将配置文件中的 romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000 后面的address去掉,即改为 romimage: file=$BXSHARE/BIOS-bochs-latest
sudo apt-get install bochs-x
安装好之后,将/etc/bochs-init/bochsrc 拷贝到主目录下,然后修改其中的内容
############################################################### # 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
其中,pm.img是你自己制作的影像文件。
在命令行运行bochs 即可启动。
常见错误如下:
一. undefined symbol: XpmCreatePixmapFromData
解决方法:
sudo apt-get install bochs-sdl 安装好后在bochs的配置文件里面加一句 display_library: sdl
二. 'x' module not found
解决方法:sudo apt-get install bochs-x
三 unknown host key name 'XK_0' (wrong keymap ?)
解决方法:将配置文件中这句话 注释掉 keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map
四:ROM: System BIOS must end at 0xfffff
解决方法:将配置文件中的 romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000 后面的address去掉,即改为 romimage: file=$BXSHARE/BIOS-bochs-latest
相关文章推荐
- ubuntu 14.04 server (x64) LTS 安装 virtualbox + phpvirtualbox
- Ubuntu 14.04 LTS 下使用源码编译安装 Sagemath 6.7 x64 (小结)
- Ubuntu 12.04 LTS x64上安装炉石传说
- Drupal7模块主题安装篇-Ubuntu 14.04 LTS 推荐
- Ubuntu 14.04 LTS 解决adb无法运行 提示adb: No such file or directory 安装ia32-libs
- Ubuntu14.04(LTS)gitHub客户端安装
- 关于Ubuntu 14.04 x64 安装 Vmware 10 x64 编译 vmnet失败的解决方法
- Ubuntu 14.04 x64 安装 Android SDK
- Ubuntu 14.04 LTS 安装 Juno 版 OpenStack Keystone
- Ubuntu Server(Ubuntu 14.04 LTS 64位)安装libgdiplus2.10.9出错问题记录
- ubuntu 14.04 x64 下完美安装搜狗拼音输入法
- Ubuntu 14.04 X64 下安装Appcelerator Titanium Studio。
- GitLab安装篇-Ubuntu 14.04 LTS 推荐
- ubuntu 12.04 LTS 安装可调试bochs 2.6
- Drupal7核心安装篇-Ubuntu 14.04 LTS 推荐
- ubuntu 14.04 lts安装教程:u盘安装ubuntu 14.04 lts步骤
- 如何在同一台计算机上安装Windows 8.1和Ubuntu 14.04 LTS
- Ubuntu 14.04 LTS下安装 LNMP环境
- Drupal8系列(三):安装和初始化设置-Ubuntu 14.04 LTS 推荐
- Ubuntu 14.04 LTS下安装Google Chrome浏览器