VirtualBox不想打开虚拟机的会话
问题描述:
我对vagrant和virtualbox有问题(virtualbox-qt 4.3.10-dfsg-1ubuntu2)。当我在做的命令:vagrant up
,我得到这个消息:VirtualBox不想打开虚拟机的会话
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}
答
VirtualBox是试图利用硬件虚拟化。检查您的硬件是否支持vt-x,然后确保它在BIOS中启用。如果您没有硬件虚拟化或无法在您的计算机上启用它,您将不幸无法在VirtualBox中运行64位来宾操作系统,请参阅:https://www.virtualbox.org/manual/ch03.html#intro-64bitguests
这似乎不是一个编程问题。 – 2015-03-25 10:18:02