0

This question already has an answer here:

I have a Windows 10 virtual machine in VirtualBox on Ubuntu host.

I have accidentally deleted some files on virtual machine, and I need to recover them.

I have used ntfsundelete before but I think I can't use that now because my Windows partition is in .vdi file, not on a device.

So is there a way I recover those files?

marked as duplicate by karel, Eric Carvalho, Fabby, Eliah Kagan, user68186 Apr 12 '18 at 18:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

Use the TestDisk 7 recovery, it's absolutely the best recovery I ever used. It's free as well. The interface is all in text mode, but very easy to work with. There are menus to navigate. It has very nice dry run mode, which allows you to see what is there without affecting the storage at all. http://www.cgsecurity.org/wiki/TestDisk

For a tutorial: http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

  • This may work, but I see no evidence on their website that Testdisk support the virtual disk files at a file system. – Charles Green May 21 '17 at 15:31
  • 1
    @CharlesGreen VDI can be converted to RAW using VirtualBox. Anyways there is no point in doing that as OP can boot a live Ubuntu ISO inside the VM. – Andrea Lazzarotto May 21 '17 at 23:15
0

Answer to this question answered mine:

At first I didn't look into it because the question is different. I was right about that, but soon, I've found that the answer to that question answers my question much better.

Not the answer you're looking for? Browse other questions tagged or ask your own question.