VirtualBox不希望为虚拟机打开会话

时间:2015-03-25 10:08:09

标签: vagrant virtualbox

我遇到了vagrant和virtualbox的问题(virtualbox-qt 4.3.10-dfsg-1ubuntu2)。当我执行命令:vagrant up时,我收到此消息:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty32' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 8080 => 6389 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

当我在启动时运行虚拟机时,出现此错误:

Failed to open a session for the virtual machine booklock_server_default_1427275442366_68003.

VT-x is not available. (VERR_VMX_NO_VMX).

Result code (RC): NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

1 个答案:

答案 0 :(得分:0)

VirtualBox正在尝试使用硬件虚拟化。检查您的硬件是否支持vt-x,然后确保在BIOS中启用它。如果您没有硬件虚拟化或无法在您的计算机上启用它,遗憾的是您无法在VirtualBox中运行64位客户操作系统,请参阅:https://www.virtualbox.org/manual/ch03.html#intro-64bitguests