Recovering / accessing a broken VDI / VMDK

This is for discussing general topics about how to use VirtualBox.

Re: Recovering / accessing a broken VDI / VMDK

Postby ChipMcK » 10. Jun 2012, 17:25

vbox4me2 wrote:Well get of your backside and write one or find one :mrgreen:
But seriously as a linux user you could have a small xp VM handy with these tools and load the broken VM via a shared folder.
The really serious point here is that there are many many many VM's out there and near enough nothing to fix them when they go south. Paragon apparently has 'something' but it ain't cheap and no track record on usefulness.
One important item: VirtualBox or VMware would need to be installed in the windows vm for these "recovery" programs
ChipMcK
Volunteer
 
Posts: 1096
Joined: 20. May 2009, 02:17
Location: U S of A
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX

Re: Recovering / accessing a broken VDI / VMDK

Postby Brutalizer » 6. Jan 2021, 23:38

My Win7 VM did not boot, so to retrieve my data I mounted the VM in Linux as a storage, using... qemu? Then I could cd into the new folder which contained the VM and extract all data I needed. Then I recreated the VM and copied back the data. I could not repair the VM, I just extracted the documents I needed.
Brutalizer
 
Posts: 76
Joined: 7. Oct 2012, 18:24

Re: Recovering / accessing a broken VDI / VMDK

Postby mpack » 7. Jan 2021, 11:27

That will only work if the disk is still usable in VirtualBox or in whatever other platform you choose. I.e. it will only work if the headers and blockmap are intact, i.e. not really a broken disk at all.

And if I was you I would check that the extracted file contents are as they should be. There are some ancient and truly dumb disk imaging tools out there, many of which will not understand the dynamic VDI format, they will assume that VDI blocks are in linear order. This will tend to work for navigating the filesystem indices (because the filesystem sectors were laid down immediately the drive was formatted), so it will appear to be working great - but the file content will be grabbed from effectively random parts of the disk surface.
mpack
Site Moderator
 
Posts: 38420
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Recovering / accessing a broken VDI / VMDK

Postby mpack » 23. Sep 2021, 09:31

I'm going to lock and un-pin this topic. It was only ever one ex-mod's flight of fancy, it was never useful.
mpack
Site Moderator
 
Posts: 38420
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Previous

Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 14 guests