最近看有些人玩 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