作者 主題: Virtualbox to Vmware  (閱讀 1810 次)

0 會員 與 1 訪客 正在閱讀本文。

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17331
    • 檢視個人資料
    • http://www.study-area.org
Virtualbox to Vmware
« 於: 2015-01-21 15:22 »
Guest:
1. Uninstall vboxtools
2. defragment
3. download and run sdelete:
    sdelete -z c:
4. shutdown

Vbox:
1. copy vdi:
    vboxmanage modifyhd old.vdi new.vdi
2. change hdd image in Edit
3. Export ova
    File -> Export -> Next .... (version1)

Windows:
1. Download ovftool (need vmware account):
    http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/ovf
2. run ovftool:
    ovftool.exe vmname.ova vmname.ovf
3. Edit ovf:
    change from:
        <vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>
    chagne to:
        <vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>

    change from:
        <Item>
        <rasd:Address>0</rasd:Address>
        <rasd:Caption>sataController0</rasd:Caption>
        <rasd:Description>SATA Controller</rasd:Description>
        <rasd:ElementName>sataController0</rasd:ElementName>
        <rasd:InstanceID>5</rasd:InstanceID>
        <rasd:ResourceSubType>AHCI</rasd:ResourceSubType>
        <rasd:ResourceType>20</rasd:ResourceType>
        </Item>
    change to:
        <Item>
        <rasd:Address>0</rasd:Address>
        <rasd:Caption>SCSIController</rasd:Caption>
        <rasd:Description>SCSI Controller</rasd:Description>
        <rasd:ElementName>SCSIController</rasd:ElementName>
        <rasd:InstanceID>5</rasd:InstanceID>
        <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
        <rasd:ResourceType>6</rasd:ResourceType>
        </Item>

    delete sound card:
        <Item>
        <rasd:AddressOnParent>3</rasd:AddressOnParent>
        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
        <rasd:Caption>sound</rasd:Caption>
        <rasd:Description>Sound Card</rasd:Description>
        <rasd:ElementName>sound</rasd:ElementName>
        <rasd:InstanceID>7</rasd:InstanceID>
        <rasd:ResourceSubType>ensoniq1371</rasd:ResourceSubType>
        <rasd:ResourceType>35</rasd:ResourceType>
        </Item>

4. download and install fciv:
    http://support.microsoft.com/kb/841290
5. get and copy the checksum of ovf:
   fciv.exe -sha1 vmname.ovf
6. change the SHA1 of ovf in vmname.mf

Vmware:
1. import the ovf
    file -> Deploy OVF Template...
« 上次編輯: 2015-01-22 22:18 由 netman »

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17331
    • 檢視個人資料
    • http://www.study-area.org
Re: Virtualbox to Vmware
« 回覆 #1 於: 2015-01-22 10:15 »
Fow Windows 7

if the god damn BSOD of STOP 0x0000007B ocurred on boot:

1.Boot to Win7 DVD
2.After the first screen (Language Selection), hit Shift-F10
3.Run Regedit.
4.Highlight HKEY_LOCAL_MACHINE
5.File > Load Hive
6.Select and open the file (c: or d:)\Windows\System32\config\system
7. name it something like "asdf"
8.Expand HKEY_LOCAL_MACHINE\asdf\ControlSet001\Services\LIS_SCSI
9.Change the data for value "Start" from "3" to "0"
10.Scoll up and select "asdf"
11.File -> Unload Hive.
12.Exit regedit.
13.Reboot the VM.


Ref:
http://www.justandrew.net/2009/10/stop-0x0000007b-on-p2vd-windows-7.html

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17331
    • 檢視個人資料
    • http://www.study-area.org
Re: Virtualbox to Vmware
« 回覆 #2 於: 2015-01-22 13:14 »
ofcourse, using vmware converter (if avaliable) is an easy way... ^_^