bochs在Ubuntu14.02下的安装

本文介绍了如何在Ubuntu 14.02上安装Bochs虚拟机。首先从SourceForge下载bochs-2.6.2.tar.gz,解压并进入目录。接着执行configure命令,添加--enable-debugger和--enable-disasm选项。配置完成后,编辑Makefile在LIBS行尾添加-lpthread。如果make过程中遇到错误,可搜索解决办法。最后使用sudo make install完成安装,然后启动Bochs。
摘要由CSDN通过智能技术生成

1.安装包下载地址:http://sourceforge.net/projects/bochs/files/bochs/   ,我这里下载的版本是bochs-2.6.2.tar.gz。

2.在Ubuntu中解压,进入文件夹cd bochs-2.6.2。

3../configure –enable-debugger –enable-disasm

4.在configure之后会出现Makefile文件,修改Makefile文件在找到 LIBS = … 一行,在行尾加上 -lpthread,保存

5.make 出错的话,百度解决。

6.sudo  make install

7.运行bochs.

出现

========================================================================
                   Bochs x86 Emulator 2.4.6
         Build from CVS snapshot, on February 22, 2011
               Compiled at Nov 14 2017, 22:04:17
========================================================================
00000000000i[     ] reading configuration from bochsrc
------------------------------
Bochs Configuration: Main Menu
------------------------------

This is the Bochs Configuration Interface, where you can describe the
machine that you want to simulate.  Bochs has already searched for a
configuration file (typically called bochsrc.txt) and loaded it if it
could be found.  When you are satisfied with the configuration, go
ahead and start the simulation.

You can also start bochs with the -q option to skip these menus.

1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Restore the Bochs state from...
6. Begin simulation
7. Quit now

Please choose one: [2] 

参考网上大家分享,十分感谢。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值