Accidentaly removed .vdi from Virtualbox.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
JV
Posts: 1
Joined: 1. Jul 2015, 13:33

Accidentaly removed .vdi from Virtualbox.

Post by JV »

Hi,

I am in a big mess and need help. I accidentaly removed my 65 GB .vdi image from Virtaulbox. I was supposed to release it, but clicked removed and it is now no where to be found. Anyone out here, please help. I will be really greatful.

I have tried a lot of data recovery softwares, but none of them is able to recover image of type .vdi

I am running Oracle Virtualbox on Windows 7 Operating system

Thanks in advance

JV
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Accidentaly removed .vdi from Virtualbox.

Post by loukingjr »

Without a backup of the guest there is little you can do. Plus, depending on what else you were doing with your computer, part of the .vdi "file" may already have been written over.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
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: Accidentaly removed .vdi from Virtualbox.

Post by mpack »

JV wrote:I accidentaly removed my 65 GB .vdi image from Virtaulbox. I was supposed to release it, but clicked removed and it is now no where to be found.
"Remove" does nothing if the media is still attached to a VM. You would have had to use "Release" first, in a prior step.

"Release" unmounts the disk from the virtual controller, meaning that the VM is no longer using it.

"Remove" unregisters the media, provided it isn't still being used by VM - this function does not delete the host files.

However, there is a separate dialog which pops up after a "Remove", asking if you want to delete the physical files. If you didn't delete the physical file then the VDI can usually be found in the "VirtualBox VMs\<vmname>" folder.

If you did a release, then you did a remove, and you answered "Yes" to the delete question, and you have no backups, then your data is gone. There is almost no chance of a file recovery tool recovering a file of that size even if the tool was run immediately.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Accidentaly removed .vdi from Virtualbox.

Post by scottgus1 »

(deleting most of my post...mpack beat me to it)

If you did not click Delete, and the vdi is not in the "VirtualBox VMs\<vmname>" folder (they can exist out of that folder if one manually makes them do so), then try searching for any files with a vdi extension, *.vdi See what appears.
Post Reply