We are sure that on some occasion you have found that you have a virtual machine created with VMware Workstation, but you take it on your hard drive to a friend’s house or even to a company, and there they only use VirtualBox and you do not have permission to install neither VMWare Workstation nor VMware Player version.
What do you do in this situation? Open the virtual machine created with VMWare in the VirtualBox itself. In this small manual we are going to show you what should be done to achieve it.
1. Starting point: VM created with VMware Workstation
The first thing we have to do before is to have created the virtual machine with VMware Workstation, as what we want is to open our VM with VirtualBox, it is assumed that in this virtual machine you have already installed everything you need and configured to your liking. In our case we have configured 2GB of RAM, 2 processors, 20GB of hard disk and the network does NAT.
2. Create a VM in VirtualBox by importing the VM from VMware Workstation
The first thing we have to do is open the VirtualBox that the computer has installed, then click on “NEW” in the upper left to create a new virtual machine (but with the data of the VM already created with VMware). Once we have clicked on «NEW«, We must click on«Expert mode«, As you can see in the following images:
Once we have clicked on «Expert mode«, We will see more options when creating the virtual machine. We assign the same RAM memory that we had previously, this parameter does not influence much when importing the VM but if the operating system requires more GB than you put it, it may not boot correctly.
The most important thing in the following screenshot is the option «Use an existing virtual hard disk«, We must click on« examine »and look for our VMware virtual hard disk.
Once we have clicked on examine, we go to the VMware VM and click on the first name that appears, ending in extension .vmdk, is important NOT to select the one that is S001.vmdk, only the first one, the one that is 1KB in size.
Once we have selected it correctly, we click on «CREATE» and we will automatically create the virtual machine by importing the VMware virtual disk.
Once we have created it, we can modify the RAM, the processors used, the network mode (NAT, Bridge etc) as well as all the parameters you want, since we are only importing what the virtual disk is and not the configuration that we had in VMware (CPU, RAM, network mode etc).
Once we have configured it to our liking, we click on “START” and the virtual machine will automatically start, loading our virtual hard disk that we had in VMware.
All the changes we make in said VM will be persistent, so if we reopen this same VM with VMware, we will see the changes made.