Vagrant Up VT-X not available

I am working on installing and getting Laravel by following their installation documentation. However, when I try to protest, I get an error

An error occurred while executing VBoxManage, the CLI used by Vagrant to manage VirtualBox. The command and stderr are shown below.

Command: ["startvm", "e6f97d62-fd0b-4203-9735-9733f20d9e27", "--type", "Headless"]

Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, IConsole interface

I am running the latest version of VirtualBox running Ubuntu 14.04.4 . Then I launch Vagrant Box inside the virtual box, which gives me this error. My virtualization is included in the BIOS , and my processors can support virtualization. I read in another thread that nested virtualization is possible if we change vb.cpus to 1. However, I think the configuration file has been changed and I cannot find the provider block in my Vagrant file. Does anyone know how to solve this error?

VT-x error not available for Vagrant machine inside Virtualbox

Edit: Explain settings. My host runs "Windows 10", in which a virtual box is open. This virtual box is running Linux Ubuntu 14.04.4 '64bit. From here I executed the โ€œstray box add laravel / homesteadโ€ command, which creates a 32-bit Ubuntu virtual box. Then I run the "tramp up" command, which gives me the above error. I would also like to add that the acceleration tab is greyed inside my virtual server settings.

+5
source share
2 answers

According to the comments on this question, I think that the solution here is not to start nested virtualization (for example, Host โ†’ Guest [Ubuntu 14.04-64bit] โ†’ Guest [Ubuntu? -32bit]).

If you just want laravel / homestead development to work on your blog, you can download the box / stroller directly from Windows, you do not need to have an intermediate guest OS (ubuntu / trusty64 in question).

Install Virtualbox and Vagrant on Windows, and try to distract from the laravel / homestead box. If you need a command line in windows, you can use Powershell, Git for Windows (or Git Shell or something else), or install Cygwin (my preferred method).

0
source

Just make sure hyper-v is not on / working. I had the same problem after installing docker. Docker uses the Windows hypervisor driver to create containers. Therefore, Docker and Virtual Box may not work together!

0
source

Source: https://habr.com/ru/post/1246170/


All Articles