daknetworks.com

You are here: Blog Hyper-V VHDX Disk to VirtualBox VDI Disk

Hyper-V VHDX Disk to VirtualBox VDI Disk

Hyper-V VHDX disks can be created from a physical computer with Disk2VHD. You will end up with a VHDX disk. If you run into a problem where you cannot run Hyper-V, VirtualBox is a good alternative. The roadblock you might run into is that VirtualBox cannot run VHDX files. To convert to VirtualBox VDI Disk (VirtualBox native format):

  • -click START > RUN
  • -type: cmd
  • -inside the command window, type: cd c:\program files\oracle\VirtualBox\
  • -hit enter
  • -type: VBoxManage clonemedium disk c:\path-to-vhdx\DESKTOP.VHDX c:\path-to-vdi\DESKTOP.VDI --format VDI

Now simply create a VM and use/attach the VDI disk.
(In the settins, I had to checkmark "Enable I/O APIC")

Bonus

Let's say you want to start the VM without a GUI. This is "headless". If you want the VM to start when the host starts:

  • -click START > RUN
  • -type: cmd
  • -inside the command window, type: cd c:\program files\oracle\VirtualBox\
  • -hit enter
  • -type: VBoxManage list vms
    (this will show a list of VM's)

Let's add the VM to start automatically on a Windows host:

  • -click START > RUN
  • -type: shell:startup
  • -create a shortcut in this directory
  • VBoxManage startvm MyVM --type headless

Contact Dak Networks

We are not taking on new clients at this time.