To manually extract data from a Hyper-V VHD Disk- use the script above within an elevated command prompt or use the Virtual Server 2005 VHDmount. First, mount the corrupt VHD file under the parent partition, and then type CHKDSK to repair it. Also make sure that you uncomment the line for 'userallowother' in /etc/nf. The -t means what type, since you're using VHD, that is what is specified. ![]() ![]() Now I know I am not the original poster but- conclusion: If you need to manually extract data from a Windows backup VHD file- use Virtual Server 2005 VHDMount.exe or use Windows Backup and get to the data using a UNC path or directly from a local drive if you give it a drive letter. Let’s have a closer look at how to use the in-built utility for fixing VHD file errors. The -f specifies the file that you're mounting. I took that Hyper-V VHD file and copied it to my W2k8 machine and ran the script and it mounted without issue- but of course I needed to bring the disk online using disk manager. Next I took browsed to the X:\VirtualMachines\MyGuestOS\ directory and I copied the Hyper-V VHD file of my guest. So then I put the USB drive into my workstation and used Virtual Server 2005 VHDMount.exe and I was able to mount the Windows backup host VHD file. I tried to use this script to mount the VHD file- that of course represented the Host OS and the script failed over and over- "The file or directory is corrupted and unreadable (0x80070570) Started with a USB Drive that was designated for Windows Backup (w2k8) ![]() Ok I just went through a round of this testing and here are my results:
0 Comments
Leave a Reply. |