Vagrant报错
目录
Your VM has become “inaccessible.”
使用vagrant up时启动虚拟机报错,虚拟机不可访问,具体报错信息如下
Your VM has become “inaccessible.” Unfortunately, this is a critical error with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them.
虚拟机没正常关机或电脑异常关机导致虚拟机文件丢失,打开virtualbox软件,找到对应虚拟机,可以看到相应错误提示
进入对应目录可以看到box文件变成了temp和prev文件
可以将bcmall_vm.vbox-tmp
文件修改为bcmall_vm.vbox
即可恢复,重新使用vagrant up
启动虚拟机