【问题标题】:VM won't bring up using homestead up虚拟机不会使用宅基地启动
【发布时间】:2018-05-31 09:06:34
【问题描述】:

我使用 homestead up 运行 vm 没有问题,但上周我刚刚更新到最新的 Windows 10 更新,现在当我运行它给我的命令时

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "c8da3222-7052-452a-b590-ff7144b50c9e", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'homestead-7' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\magal\VirtualBox VMs\homestead-7\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

一直在网上寻找解决方案,但没有成功。

盒子版本:2.1.0

【问题讨论】:

    标签: laravel-5 virtual-machine homestead


    【解决方案1】:

    如果没有更多信息,唯一的建议是运行 vagrant destroy && vagrant up 如果之后仍有问题,请考虑在 https://github.com/laravel/homestead/issues/new 上打开一个新问题

    【讨论】:

    • 我也不确定是什么导致了这个问题。是的,谢谢你的链接!
    【解决方案2】:

    将我的 Virtualbox 升级到 5.2 后问题已得到解决。

    【讨论】:

      【解决方案3】:

      在 Windows 10 上,我以 ADMINISTRATOR 身份安装了所有内容,只有以下配置对我有用:

      Vagrant 1.9.2Download Vagrant 1.9.2

      Oracle VM VirtualBox 5.1.30Download Oracle VM VirtualBox 5.1.30

      对于旧版本的 VirtualBox,虚拟机已意外终止。
      对于较新版本的 VirtualBox,无法创建仅主机适配器。

      当您升级或降级时,请确保从 C:\Users\your-user永久删除(Shift + Delete)以下文件夹: .vagrant.VirtualBox虚拟 VM 机器。当使用vagrant up时,这些文件夹会被重新创建。

      安装和卸载每个程序后,请务必重新启动计算机。 VirtualMachine 和 Vagrant 中的旧文件会一直存在,直到操作系统再次启动。

      【讨论】:

        猜你喜欢
        • 2018-08-17
        • 1970-01-01
        • 2017-08-14
        • 2017-04-27
        • 2022-09-29
        • 2019-01-01
        • 2012-06-29
        • 1970-01-01
        • 2017-04-24
        相关资源
        最近更新 更多