Page 1 of 1

Virtualbox image in VMWare workstation

Posted: 9. Aug 2020, 22:49
by sumithar
Hi all,
Not sure if this belongs in vmware forum or here, but I will start with here :-)
I am following a tutorial to use Ansible.
Since ansible doesn't work properly in Windows natively, I installed vmware workstation on my windows laptop and an ubuntu instance in there.
Per the video instructions I installed Virtual Box and vagrant in this Ubuntu instance.
When I try to do create a Centos instance in virtualbox (using the command "vagrant up") I get this error

Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)

Any thoughts if there is a fix for this?

Thank

Re: Virtualbox image in VMWare workstation

Posted: 9. Aug 2020, 23:08
by scottgus1
First, we don't support Vagrant, they control Virtualbox in unknown ways and have their own support channels.

Second, nested virtualization requires passing VT-x through the first virtualizer into the the second. If VMware doesn't do this, then the Virtualbox layer (likely 6.1.x) won't run without it. Using Virtualbox 6.1.x as the first layer will pass VT-x into the second layer.

Third, nested virtualization is slow as molasses in Antarctica in June (June? think about it...).

Fourth, you might be able to skip a virtualization layer. All Vagrant does is make and unmake guest environments, best as I can understand it. If you can find out what kind of CentOS environment Vagrant is trying to make, manually make the same environment in VMware and run Ansinble in CentOS. (Of course we would suggest skipping VMware and putting in Virtuakbox direct on your laptop, but that's just forum bias.)

Re: Virtualbox image in VMWare workstation

Posted: 10. Aug 2020, 14:42
by sumithar
Thank you Scott. I will try and do as you suggested.