Cannot start Virtual Machine after snapshot deletion failure

Discussions about using Windows guests in VirtualBox.
Post Reply
conectionist
Posts: 3
Joined: 27. Jul 2016, 11:28

Cannot start Virtual Machine after snapshot deletion failure

Post by conectionist »

Hi,

I started the process of deleting a snapshot, and then the power went out. After restarting my PC, the virtual machine won't start anymore. This is the error I get:

Could not open the medium 'D:\VMs\VirtualBox VMs\Windows 10 x64 extended\Windows_10_x64_extended-disk1.vmdk'.
VMDK: inconsistency between grain table and backup grain table in 'D:\VMs\VirtualBox VMs\Windows 10 x64 extended\Windows_10_x64_extended-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
VD: error VERR_VD_VMDK_INVALID_HEADER opening image file 'D:\VMs\VirtualBox VMs\Windows 10 x64 extended\Windows_10_x64_extended-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).

Result Code:
E_FAIL (0x80004005)
Component:
MediumWrap
Interface:
IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}

Please help me...
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Cannot start Virtual Machine after snapshot deletion failure

Post by mpack »

Help you how? You had a file physically damaged by a power cut - data fragility is an obvious consequence of using snapshots. It can be repaired by restoring from a backup. The only other thing you can do would be to revert to the previous snapshot (losing everything in the current one), but that might require manual repair of the vbox files.
conectionist
Posts: 3
Joined: 27. Jul 2016, 11:28

Re: Cannot start Virtual Machine after snapshot deletion failure

Post by conectionist »

mpack wrote:The only other thing you can do would be to revert to the previous snapshot (losing everything in the current one), but that might require manual repair of the vbox files.
I've tried reverting to other snapshots. I get the same error. Is there anything else I can do? How do I manually repair the file?
conectionist
Posts: 3
Joined: 27. Jul 2016, 11:28

Re: Cannot start Virtual Machine after snapshot deletion failure

Post by conectionist »

I don't care about the snapshot (I was trying to delete it anyway). I just want my virtual machine to work again.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Cannot start Virtual Machine after snapshot deletion failure

Post by mpack »

First, make a backup of the VM folder so we can't make anything worse.

Next, zip up the .vbox file from the VM folder, and attach the zip here. I can try to make the repairs manually for you.
Post Reply