VDI file can not be opened
Posted: 4. Feb 2016, 10:36
Hello!
I know that there are already many posts with a similar problem, and I read some of them but they didn't really help me.
Also please excuse my bad english, it is not my first language.
Two days ago I tried to resize a partition using EaseUS Partition Master (I had 2 partitions, one (partition C) with windows 10, and a second one (partition D) containing installed software and a few virtual machines (in .vdi format), and a third one with Linux as a second OS on that laptop) (I had to use EaseUS because Windows itself just couldn't increase the size of the partition). So I started the process, the pc restarted, but after the restart partition D (the one that I tried to increase in size) was not accessible with the explorer (it was listed as RAW under Windows Disk Management).
Using a program called TestDisk I scanned partition D to recover the files. TestDisk was able to show the partition just as it appeared before EaseUS messed it up (all the folders and files were there). I then managed to copy everything important (including all vdis), and everything was in working condition (all the files could be opened, except the vdis which i couldn't try).
I then saved my files to an external hard drive and tried to rewrite partition D using TestDisk, but it got even worse, because after starting the progress the computer rebooted and the pc only showed "Your PC/Device needs to be repaired. File: \WINDOWS\system32\winload.efi Error code: 0xc0000225".
I created a Knoppix Live USB stick on a different pc, started it and was able to access both Windows partitions. I then just copied everything (both partitions, completely) to an external hard drive (also copying all the data i already copied with TestDisk, again). On the second pc I then installed VirtualBox and tried to open the vdis, but 2 of them didn't work anymore, one of these two containing really important data.
When I create a virtual machine and try to use the .vdi file containing that data it just says "Could not get the storage format of the medium" (see attached file). I then tried to duplicate the vdi using CloneVDI (because I read that this error could occur when using a different version of VirtualBox than the one that was used creating that vdi) but also had no luck (see attached file). Then I tried to open the file with Frhed (see attached files).
I then searched for possibilities to scan the vdi to somehow extract at least some files, but couldn't find any solution. Then I had the idea to create an empty partition, I copied the vdi file to it and scanned the partition with data recovery tools, among EaseUS Data Recovery. It was actually able to scan it, showing me some of the files that were on that vdi so I guess it's not completely corrupt and unusable (see the attached file, this is one of the pictures EaseUS was able to read from the vdi file). This just leads me to believe that it actually can be repaired somehow and made bootable again or at least can be scanned and the files can be extracted (whats weird though is that EaseUS finds 235 GB of files, but this second pc I'm using right now only has approx 55 GB and the vdi file I'm trying to repair/I scanned only has approx 20 GB so I don't really understand whats going on there and where it finds all those files, but at least it shows some data that was part of that vdi (and no, there is no external medium attached)).
My questions are now:
1.) Is there (after somehow turning partition D from ntfs into raw and making windows unbootable) even a way to simply restore everything as it was two days ago (make it bootable again (editing winload.efi) and just being able to access partition D like before) or do i just have to reinstall windows?
2.) Is there a way to either repair that vdi or to completely scan/extract all usable data from it (because EaseUS didn't find everything I need)?
Sorry for writing that much but I thought i might just write everything that happened.
Thanks for reading and thanks in advance to everyone trying to help.
I know that there are already many posts with a similar problem, and I read some of them but they didn't really help me.
Also please excuse my bad english, it is not my first language.
Two days ago I tried to resize a partition using EaseUS Partition Master (I had 2 partitions, one (partition C) with windows 10, and a second one (partition D) containing installed software and a few virtual machines (in .vdi format), and a third one with Linux as a second OS on that laptop) (I had to use EaseUS because Windows itself just couldn't increase the size of the partition). So I started the process, the pc restarted, but after the restart partition D (the one that I tried to increase in size) was not accessible with the explorer (it was listed as RAW under Windows Disk Management).
Using a program called TestDisk I scanned partition D to recover the files. TestDisk was able to show the partition just as it appeared before EaseUS messed it up (all the folders and files were there). I then managed to copy everything important (including all vdis), and everything was in working condition (all the files could be opened, except the vdis which i couldn't try).
I then saved my files to an external hard drive and tried to rewrite partition D using TestDisk, but it got even worse, because after starting the progress the computer rebooted and the pc only showed "Your PC/Device needs to be repaired. File: \WINDOWS\system32\winload.efi Error code: 0xc0000225".
I created a Knoppix Live USB stick on a different pc, started it and was able to access both Windows partitions. I then just copied everything (both partitions, completely) to an external hard drive (also copying all the data i already copied with TestDisk, again). On the second pc I then installed VirtualBox and tried to open the vdis, but 2 of them didn't work anymore, one of these two containing really important data.
When I create a virtual machine and try to use the .vdi file containing that data it just says "Could not get the storage format of the medium" (see attached file). I then tried to duplicate the vdi using CloneVDI (because I read that this error could occur when using a different version of VirtualBox than the one that was used creating that vdi) but also had no luck (see attached file). Then I tried to open the file with Frhed (see attached files).
I then searched for possibilities to scan the vdi to somehow extract at least some files, but couldn't find any solution. Then I had the idea to create an empty partition, I copied the vdi file to it and scanned the partition with data recovery tools, among EaseUS Data Recovery. It was actually able to scan it, showing me some of the files that were on that vdi so I guess it's not completely corrupt and unusable (see the attached file, this is one of the pictures EaseUS was able to read from the vdi file). This just leads me to believe that it actually can be repaired somehow and made bootable again or at least can be scanned and the files can be extracted (whats weird though is that EaseUS finds 235 GB of files, but this second pc I'm using right now only has approx 55 GB and the vdi file I'm trying to repair/I scanned only has approx 20 GB so I don't really understand whats going on there and where it finds all those files, but at least it shows some data that was part of that vdi (and no, there is no external medium attached)).
My questions are now:
1.) Is there (after somehow turning partition D from ntfs into raw and making windows unbootable) even a way to simply restore everything as it was two days ago (make it bootable again (editing winload.efi) and just being able to access partition D like before) or do i just have to reinstall windows?
2.) Is there a way to either repair that vdi or to completely scan/extract all usable data from it (because EaseUS didn't find everything I need)?
Sorry for writing that much but I thought i might just write everything that happened.
Thanks for reading and thanks in advance to everyone trying to help.