Oracle virtual box inaccessible

Vishal Gupta picture Vishal Gupta · Mar 6, 2014 · Viewed 53k times · Source

I am using Oracle Virtual Box version 4.2.16 r86992. Everything was fine until yesterday shutdown. Today, it shows inaccessible and throws this error:

Runtime error opening C:\Users\xxxxxx\VirtualBox VMs\vBoxxxxXubuntu_Beta\vBoxxxxXubuntu_Beta.vbox for reading: -102 (File not found.).  
D:\tinderbox\win-4.2\src\VBox\Main\src-server\MachineImpl.cpp[725] (long __cdecl Machine::registeredInit(void)).

It's good to restore this to working, It would save lot of time and restore configuration settings and data. Thanking your support.

Answer

AjayKumarBasuthkar picture AjayKumarBasuthkar · Mar 6, 2014

This normally happens if the host OS crashes or you pull the plug on it, leaving the .vbox file unsaved.

In the location:

C:\Users\xxxxxxx\VirtualBox VMs\vBoxxxxXubuntu_Beta\  

you should find two files:

  1. vBoxxxxXubuntu_Beta.vbox-prev
  2. vBoxxxxXubuntu_Beta.vbox-tmp

Copy vBoxxxxXubuntu_Beta.vbox-prev to vBoxxxxXubuntu_Beta.vbox.

Select vBoxxxxXubuntu_Beta.vbox, in the VBox manager, right click, and then left click on refresh.

Observe that it now shows Powered Off.

Now you are good to go.