Virtualbox image in VMWare workstation

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sumithar
Posts: 5
Joined: 21. Feb 2012, 04:22

Virtualbox image in VMWare workstation

Post 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
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Virtualbox image in VMWare workstation

Post 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.)
sumithar
Posts: 5
Joined: 21. Feb 2012, 04:22

Re: Virtualbox image in VMWare workstation

Post by sumithar »

Thank you Scott. I will try and do as you suggested.
Post Reply