导读:今天早上没有关闭vagrant 就重新电脑,导致vagrant无法启动了,报错如下图:Bringing machine 'homestead-7' up with 'v...
今天早上没有关闭vagrant 就重新电脑,导致vagrant无法启动了,报错如下图:
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
Your VM has become "inaccessible." Unfortunately, this is a critical error
with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBo x
and clear out your inaccessible virtual machines or find a way to fix
them.
打开VirtualBox 出现如下图错误提示
错误意思是
C:\Users\ypu\VirtualBox VMs\homestead-7\homestead-7.vbox 没有找到
于是就到这个目录看了一下,没有homestead-7.vbox
如下图:
解决方法
只需要把homestead-7.vbox-tmp 修改成 homestead-7.vbox 就ok了,重启成功