Unable to open VDI after aborted session

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ADE12345
Posts: 2
Joined: 26. Mar 2015, 18:27

Unable to open VDI after aborted session

Post by ADE12345 »

I was using my virtual machine and suddenly it locked up. The session aborted and now the hard drive is inaccessible. What can I do?

I tried running the "vboxmanage internalcommand repairhd -format VDI <filename>" utility but it is returning:

C:\Program Files\Oracle\VirtualBox>vboxmanage internalcommands repairhd -format
VDI "REMOVED"

VBoxManage.exe: error: VDI: invalid header in 'REMOVED'
VBoxManage.exe: error: Error code VERR_VD_IMAGE_REPAIR_IMPOSSIBLE at F:\tinderbo
x\win-4.3\src\VBox\Storage\VDI.cpp(3088) in function int __cdecl vdiRepair(const
char *,struct VDINTERFACE *,struct VDINTERFACE *,unsigned int)
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Unable to open VDI after aborted session

Post by mpack »

Where have you seen documentation of "internalcommands repairhd"? As far as I can tell that (very obscure) command is only relevant to VHDs, and it does a very specific fix, it is not a panacea.

If your VDI is corrupted then the only sure cure is to restore it from a backup.

What does CloneVDI say if you use it to try to open this VDI?
ADE12345
Posts: 2
Joined: 26. Mar 2015, 18:27

Re: Unable to open VDI after aborted session

Post by ADE12345 »

I don't have a backup unfortunately. I don't have enough hdd space to back up my VMs. This one was 50GB by itself... Sad that this would happen from a random crash.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Unable to open VDI after aborted session

Post by mpack »

I'm afraid we can't control what happens on a Windows host when it crashes.

Check the VDI with CloneVDI.
Post Reply