Page 1 of 1

Cannot find snapshot

Posted: 10. Oct 2012, 11:09
by thany
I've got a couple of VM's that stopped working all of the sudden. They have always worked, but now when I start them, I get this error:

Code: Select all

Failed to open a session for the virtual machine Android 4.0.3.

VM cannot start because the saved state file 'D:\Virtual Machines\Mobile platforms\Android 4.0.3\Snapshots\2012-08-29T08-09-35-816702700Z.sav\Snapshots\2012-08-29T08-09-35-816702700Z.sav\Snapshots\2012-08-29T08-09-35-816702700Z.sav' is invalid (VERR_PATH_NOT_FOUND). Delete the saved state prior to starting the VM.

Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: Console
Interface: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
Which is strange, because it seems as if VB thinks the snapshot file is a directory :?

Only thing that happened between now and when things still worked, is that I've deleted (with "all files" option) a VM. Most other VM's still work normally.

This is VirtualBox 4.2.0 on Windows 7 x64 SP1.

Re: Cannot find snapshot

Posted: 10. Oct 2012, 12:33
by mpack
The error message is referring to a saved state file (.sav), i.e. like a memory dump, not a snapshot. It just happens to be stored (or expected to be stored) in the subfolder called "Snapshots".

As the error message suggests, you should try discarding the saved state.

Incidentally, it is possible for deleting one VM to affect another, e.g. if it was a linked clone, or if VM-B was somehow otherwise referencing a disk belong to VM-A (the deleted VM). I've seen people create weird setups, mostly caused by following ancient and obsolete offsite guides, so the latter wouldn't surprise me at all.

Re: Cannot find snapshot

Posted: 10. Oct 2012, 17:53
by jefro
Look in the actual folder for the VM and see if there is a subdirectory by the name snapshots. See the error for the exact path to file.

You should be able to delete or remove one VM and it should not affect any others.