I created a VHDX from a physical disk using a program called Disk2vhd.
Now I want to copy that VHDX back to a physical disk.
- -boot from E2B USB disk
- -select: systemrescuecd
Get your bearing by seeing what is recognized:
- fdisk |grep "/dev/"
To connect the VHDX and clone to the physical drive:
- -type: qemu-nbd --connect=/dev/nbd0 --format=VHDX <vhdx_file_name>
- -type: ddrescue --verbose --force /dev/nbd0 /dev/sda
To disconnect the VHDX:
- -type: unmount /mnt
- -type: qemu-nbd --disconnect /dev/nbd2