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