daknetworks.com

You are here: Blog VHDX to Physical Disk

VHDX to Physical Disk

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

Contact Dak Networks

Please contact us at the following.