【问题标题】:"STDERR: The guest machine entered an invalid state while waiting for it to boot." error while doing vagrant up“STDERR:来宾机器在等待启动时​​进入了无效状态。”做流浪汉时出错
【发布时间】:2015-07-18 19:28:56
【问题描述】:

我在执行vagrant up 时遇到以下错误。

STDERR: 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.

我正在使用 vagrant 1.7.2 和 virtual box 4.3.22

当我尝试使用 VB GUI 启动 VM 时,我的系统只是因为蓝屏死机而崩溃。有关如何解决此问题的任何想法。

【问题讨论】:

    标签: virtualbox vagrant-windows


    【解决方案1】:

    我在使用 vagrant 1.8.1 和 virtualbox 5.0.12 时遇到了同样的问题。经过一番研究,我发现如果禁用硬件加速 (VT-x),您将无法在 PC 中运行 64 位 VM。您可以在 BIOS 中打开/关闭此设置。

    就我而言,这不是一个选项,因为我正在从另一个不支持此选项的 VM 运行 vagrant,因此我使用了 32 位框并禁用了硬件加速。为此,请将其添加到您的 Vagrantfile 配置中:

      config.vm.provider :virtualbox do |vb|
        vb.customize ["modifyvm", :id, "--hwvirtex", "off"]
      end
    

    这对我有用。

    【讨论】:

      猜你喜欢
      • 2014-07-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-11-25
      • 2015-06-01
      相关资源
      最近更新 更多