As VirtualBox is more flexible than VMware workstation, you can easily add the VMware virtual disk (VMDK) file to VirtualBox console and to any of the VMs. By doing this, you can easily access the contents of the VMDK file inside the virtual machine in VirtualBox. Even if the VMDK file contains a bootable Operating System, it can be attached and booted in VirtualBox. Let me shows the steps involved in attaching and accessing the VMDK file in VirtualBox.
We have earlier published a guide showing how to open and access the contents in VMDK file from Windows 10/8.1 Operating System itself. That method requires VMware workstation program on the computer. You can read the guide here. If you have copied or moved the VMDK file from the different host, adding them to existing virtual machine on VirtualBox becomes handy for data access.
Follow the steps to complete this task
Note: Earlier there was a way to add virtual disk files in Virtual Media Manager, now that option had been removed. Hence, we need to attach the VMDK file to the desired virtual machine directly.
1) Open the storage settings of the Virtual machine where you want to attach the VMDK file.
2) Once the storage settings opened, click on the Add hard disk option as below. It is like we are going to attach another hard disk to the virtual machine using the same storage controller. If you want you can add another storage controller, then attach the new disk to the new controller, but I’m attaching to the same controller to make it simple.
3) The main idea is to attach the existing new VMDK file. So, select the existing disk option.
4) Now browse the VMware disk (VMDK file) you need to attach. Select the main VMDK file if you have split VMware disks. Make sure you don’t get any errors while adding. If the VirtualBox couldn’t recognize entire VMware disk, then you may get some errors. Make sure that you are not getting any errors. In the virtual machine settings, the newly added hard disk should appear under ‘Hard Disks
5) That’s it, Start the virtual machine. The VMware disk (VMDK) can be accessed now inside the VM.
Though this method is straightforward and this is the way of attaching new or existing virtual disks such as VDI, VMDK, VHD, and HDD to a virtual machine in Oracle VirtualBox, hope this guide is useful in some ways. The above same way is applicable to all Operating Systems if you have the latest VirtualBox version.