Bochs可用的img檔案製作方法

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.