I was working on a VM that wouldn't boot, it had an VHD and AVHD file that it was trying to merge, but kept failing.
I renamed the AVHD extension to a VHD and used "Edit Disk" in Hyper-V manager to try and manually merge the disks, but it failed with a low disk space warning. Which I then realized, that we only have about 10MB left on the physical partition.
At some point, I accidentally deleted the parent VHD file, now the VM will not boot at all, cause it can't find the file.
I still have the AVHD file, which was physically bigger in size, and when I was working with the VM, it appeared to be the one that was being used.
The virtual disk contains data only, the OS disk is still intact.
If I can't recover the deleted file, then what do you guys recommend?
I have a recent backup of the virtual disk that is stuffed.
Can I detach the trouble VM disk from the VM, so it can at least boot up for now?
Thanks In Advance :)