解决vagrant up失败出现的Your VM has become "inaccessible."
Bringing machine ‘default’ up with ‘virtualbox’ provider…
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.
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.
原因:未明
解决方案一:移除.vagrant目录后重新vagrant up,参考了https://www.cnblogs.com/wangkongming/p/4070782.html
后果:并不是修复原来的虚拟机,而是重新建一个,慎用!!!
# cd /path/to/directory-of-Vagrantfile
mv .vagrant .vagrant-bak
vagrant up; vagrant ssh
** 方案二:修复它,参考https://stackoverflow.com/questions/30662746/vm-has-become-inaccessible-vagrant-no-longer-working#
$ /d/Program\ Files/Oracle/VirtualBox/VBoxManage.exe list vms
““ {03756230-0a7d-4b32-a380-66d87ee00776}
2.
$ /d/Program\ Files/Oracle/VirtualBox/VBoxManage.exe unregistervm 03756230-0a7d-4b32-a380-66d87ee00776
3.
$ /d/Program\ Files/Oracle/VirtualBox/VBoxManage.exe registervm ~/VirtualBox\ VMs/carstino_default_1572332828651_91297/carstino_default_1572332828651_91297.vbox
4.
vagrant up
5.
vagrant ssh
还没有评论,来说两句吧...