Page 1 of 1

Virtual Machine is Inaccessible

Posted: 30. Dec 2013, 15:54
by perservance
When I tried to open up my virtual machines running Windows XP, I get an a message saying it's inaccessible.
Premature end of data in tag VirtualBox line 8.
Location: '/Users/huananjin/VirtualBox VMs/WinXP/WinXP.vbox', line 87 (8), column 50.
/Users/vbox/tinderbox/4.3-mac-rel/src/VBox/Main/src-server/MachineImpl.cpp[727] (nsresult Machine::registeredInit()).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}

Could someone help me? I have data on the machine that I need to access. Thanks a lot.

Re: Virtual Machine is Inaccessible

Posted: 30. Dec 2013, 16:33
by mpack
Shut down VirtualBox.

Look in the VM folder for a file called <vmname>.vbox-tmp. If the file exists then delete the corrupted .vbox file and rename the former to ".vbox". If the ".vbox-tmp" file doesn't exist then do the same with the ".vbox-prev" file.

It may also be worth doing a disk check on the host, as files shouldn't be corrupting themselves.

Re: Virtual Machine is Inaccessible

Posted: 30. Dec 2013, 17:10
by perservance
Thank you very much. It works.