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/ovf2. 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/8412905. 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...