• About
  • Manuals
  • Network
Confessions of a FreeBSD hacker Various tips & tricks about computers in general and FreeBSD in particular
Confessions of a FreeBSD hacker

Convert virtualbox to vmware

July 31, 2012 21:38 / Leave a Comment / Magnus Strahlert

First power off machine in vbox. Then use the “Export Appliance” from the “File” menu.

Change filename to .ovf
Leave checkboxes unchecked (no 0.9 compliance and no mf file)

The disk needs to be cloned as the user running VirtualBox in order to undo thin provisioning. To find out the UUID of the disk, do the following.

VBoxManage list hdds|grep -B3 <iSCSI iqn>

Having found the uuid the actual cloning can commence.

VBoxManage clonehd <uuid> /path/disk.vmdk –format vmdk –variant standard

Copy the resulting .ovf and .vmdk file to somewhere it can be read. Then edit the .ovf file

change <vssd:VirtualSystemType> to vmx-08
Add required=”false” to <Item> for the soundcard

Convert SATA controller to SCSI by changing relevent lines as shown below

Caption: SCSIController0
Description: SCSIController
ElementName: SCSIController0
ResourceSubType: lsilogic
ResourceType: 6

Change hostname if applicable and then run ovftool from commandline

My datastorage is called nasseL1 and network need to be input as it’s defined in VMware.

ovftool x:\path\to\edited.ovf y:\path\to\new.ovf
ovftool -ds=nasseL1 -nw="VLAN 100" x:\path\to\edited.ovf vi://root@esxi:443/

If several nics has been defined, specify –net:”NIC=VLAN xxx” for each nic
Run vmware converter
Select new.ovf as sourcefile

Posted in: VMware / Tagged: esxi, virtualbox, vmware

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *

Post Navigation

← Previous Post
Next Post →

Recent Posts

  • Takeaways utilising VFIO in a KVM virtual guest
  • Converting VM from ESXi to KVM with iSCSI storage
  • Deploying oVirt in self-hosted mode
  • Ansible playbook for handling perl on FreeBSD
  • iSCSI: Migrating from istgt to ctld

Tags

ansible backup carp chroot cluster cross-server esxi freebsd ftp ftpchroot gpt grub hast install iscsi kvm linux lun lvm mirror network nfs nfsroot ovirt pxe raid ramdrive raspberrypi snapshot ssd ssh terminalserver usb vfio virtio virtualbox vlan vmware volumes winxp zfs zpool zroot

Archives

  • July 2019
  • March 2018
  • February 2018
  • July 2017
  • February 2016
  • January 2015
  • August 2014
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • September 2012
  • July 2012
  • April 2012
  • March 2012
  • November 2011
  • August 2011

Recent Comments

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    © Copyright 2013-2016 - Magnus Strahlert
    Infinity Theme by DesignCoral / WordPress