3

The power went out while I was doing a build on a VirtualBox machine, when I restarted the vmdk for the disk the vm was using was corrupted, apparently irrecoverably. I have been able to grep the 66GB vmdk file and it finds strings from the code I was working on that hadn't gotten in to subversion yet (yeah, yeah I know). But the strings are either in the shell history or what look to be strings inside object files.

Any ideas for finding/recovering the source code?

If it helps the vm was Linux, Fedora Core 10 on an ext3 filesystem. The host is an ubuntu 10.04_amd64 and has an ext4 filesystem.

Neth
  • 575

3 Answers3

2

Perform the process to repair highly corrupt or damaged VMDK files and restore recovered records in workable VMDK file. You can retrieve VMDK files without installing Virtual environment and regain all your images, videos, audios, database etc. Repairing the damaged VMware Virtual disk file, software lists all recovered object in explorer view. Here you can select any particular file/folder and perform selective VMDK file recovery. After that you can easily save your data in desired location or previous drive by selecting “Extract” or “Extract As Original” option.

Utilize this VMware recovery software application and rescue data from deleted as well as formatted, lost or missing VMDK.

To know more: http://gallery.technet.microsoft.com/Recover-VMDK-Data-from-bd1ecd39

1

Try using something that does partition recovery like GetDataBack.

The partition tables are within the vmdk and the software should detect a new partition. Software like this will do what you need but last time I tried it (over a year ago) they don't do well with multiple VM hard disks on the same drive as you now have multiple, valid, partition tables that span the whole drive. If the vmdk is intact and can be moved try moving it to a disk that has had all free space wiped and then run the recover software, that should clear up all the oddities of these type issues.

David Remy
  • 1,959
1

If you can mount the image file, you might be able to use the same tools you would use on a physical drive to recover files - such as testdisk, or photorec. If not, no, there's not much you can do. If its a vmdk, i believe vmware might have a tool for mounting it.

Journeyman Geek
  • 133,878