Page 1 of 1

Accidentaly removed .vdi from Virtualbox.

Posted: 1. Jul 2015, 13:37
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

Re: Accidentaly removed .vdi from Virtualbox.

Posted: 1. Jul 2015, 13:56
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.

Re: Accidentaly removed .vdi from Virtualbox.

Posted: 1. Jul 2015, 14:38
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.

Re: Accidentaly removed .vdi from Virtualbox.

Posted: 1. Jul 2015, 14:52
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.