Score:0

Possibly of recovering data from virtualbox machine?

fr flag

Tldr: vdi file corrupted, nothing i tried is helping

I noticed recently that the save files for one of my virtualbox machines disappeared. I had it on an hard drive that’s plugged into an outlet, and it’s been the victim of several breaker trips, so I’m assuming that the outages caused the data to get corrupted and removed somehow. So i tried recovering the relevant files with disk drill, only to realize that virtualbox wasn’t loading the machine with the recovered files, despite my best efforts. So I tried attaching the vdi to a different profile. The profile booted, but said “No bootable medium found.” So then I tried attaching the vdi as an external drive to a functioning Ubuntu machine, but the machine wasn’t even detecting it [i tried the vdi of a machine i know works, and that worked fine]. So my next try was to decompress the vdi using 7zip to access the actual image, but i had preallocated too much space [2 tb] and didn’t have enough space on my drives to expand it, even though the actual data stored on the vdi was less than 500 gb. I tried using “modifymedium —compact”, but that didn’t seem to have any effect. I tried using “modifyhd —compact” but that gave me a “read only” error [even though the file definitely wasn’t read only]. What should i try next? Is there anything else to try?

in flag
This question may be better answered on [the VirtualBox Forums](https://forums.virtualbox.org/index.php) as people there will have more experience working with corrupted .vdi files. Speaking from experience, when the .vdi is corrupted to the point where it cannot be mounted, there's a very good chance the image is lost forever. Generally this points to an incomplete write operation by the VirtualBox daemon the last time the image was used, leaving the file system in an incomplete state. While data can be read out from *some* non-encrypted images, it requires file system level knowledge.
Albert M avatar
fr flag
I see. Not a great sign, but i’ll give them a shot anyways. Thanks for the pointers
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.