Bochs可用的img文件制作方法

最近看有些人玩 Bochs

不过有个小问题,就是Bochs没有类似VM 那么直接的菜单

很多人不知道哪个硬盘镜像文件怎么制作

很简单 在Bochs安装目录有个bximage.exe


运行为命令行:


========================================================================

                                bximage
                  Disk Image Creation Tool for Bochs
          $Id: bximage.c 10933 2012-01-04 19:34:08Z vruppert $
========================================================================

Do you want to create a floppy disk image or a hard disk image?    <-这里要你选择软盘镜像fd还是硬盘镜像hd
Please type hd or fd. [hd] hd

What kind of image should I create?                     < -输入镜像类型
Please type flat, sparse or growing. [flat]

Enter the hard disk size in megabytes, between 1 and 129023 < -输入大小
[10] 12000

I will create a 'flat' hard disk image with     <-告诉你信息
  cyl=24380
  heads=16
  sectors per track=63
  total sectors=24575040
  total size=11999.53 megabytes

What should I name the image?   <-输入镜像名字
[c.img]

Writing: [] Done.                 <-写好了

I wrote 12582420480 bytes to c.img.

The following line should appear in your bochsrc:
  ata0-master: type=disk, path="c.img", mode=flat, cylinders=24380, heads=16, sp
t=63
(The line is stored in your windows clipboard, use CTRL-V to paste)

Press any key to continue

文件生成位置: win7 是在

C:\Users\luozhuang\AppData\Local\VirtualStore\Program Files (x86)\Bochs-2.5.1\c.img

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值