VM has become 'inaccessible' - Vagrant no longer working

Zabs picture Zabs · Jun 5, 2015 · Viewed 25.6k times · Source

For some reason this morning when I run 'vagrant up' I get the following error (this has worked absolutely fine for over a year)

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.

I could try removing my existing .vagrant folder and doing a vagrant up but that will take forever on our very slow internet speeds - can anyone suggest how to fix this quickly?

Answer

Ultimate Fighter picture Ultimate Fighter · Aug 13, 2015

this works for me:

In my "C:\Users{user}\VirtualBox VMs{vm-id}" folder are two files

  • {vm-id}.vbox-prev
  • {vm-id}.vbox-tmp

Renaming from "{vm-id}.vbox-tmp" to "{vm-id}.vbox" solved my problem and i can call "vagrant up"