I run VirtualBox 4.1.12_Ubuntu R77245.
I have a virtual machine under Windows 7 on a 20 GB virtual disk (dynamic VDI file).
I wanted to resize my virtual disk to 25 GB but I typed :
Code: Select all
VBoxManage modifyhd sch01.vdi --resize 25000000
It is not possible to resize with a shorter value.
Of course, I have no backup...
I have tried to repair with the Windows CD on a copy of the VDI file but it didn't worked.
I have also tried with qparted-live-0.13.1-2 : it sees the 2 partitions but in fstype RAW. I have changed it to NTFS but it didn't worked.
I have tried to copy the 2 partitions to a new 20 GB VDI file but it didn't worked.
I installed a new Windows on a 20 GB VDI file and then copied the 512 first bytes (MBR) to the one with my data but it didn't worked.
Is there a way to recover my data ?
Thanks for help.
SCH