简体   繁体   English

流浪汉无法启动VirtualBox映像

[英]Vagrant cannot start VirtualBox image

When I run vagrant up it goes ok, but after Booting VM... step it stops with error: 当我运行vagrant up一切正常,但是在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.

I can run my image manually with VirtualBox GUI, it loads ok and shows me login: . 我可以使用VirtualBox GUI手动运行我的映像,它可以正常加载并显示login:

Is there any way to find what is wrong and how to fix it? 有什么方法可以找出问题所在以及如何解决?

Here are more details: 以下是更多详细信息:

CPU w/o virtualization

Vagrant 1.7.4

VirtualBox 5.0.8r103449

ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]

OS Name:                   Microsoft Windows 8.1 Pro
OS Version:                6.3.9600 N/A Build 9600
System Type:               x64-based PC

尝试运行vagrant up --debug来帮助您调试。

For vagrant to boot up your virtual machine, it will have to ssh into it. 为了使vagrant能够启动您的虚拟机,必须将其SSH到其中。 If it cannot, it won't be able to carry out the command. 如果不能,它将无法执行命令。 This only happen when you create a complete new box. 仅当您创建一个完整的新框时,才会发生这种情况。 In case, it works in the past (meaning you already "vagrant up" before), and decides to be a jerk this time, then you may have to check the content of vagrantfile to see any misconfig. 万一它在过去有效(意味着您之前已经“无所适从”),并且这次决定成为一个混蛋,那么您可能必须检查vagrantfile的内容以查看是否有任何错误配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM