#1 Menu -> Administration -> Global Settings, change the default virtual machine location

#2 Copy/move the existing VM directory to the new location, delete the existing VM in the software

#3 Menu -> Control -> Registerctrl+A), select the. Vbox file in the vm directory one by one, and import the VM configuration

#4 Error message

Could not find an open hard disk with UUID {1d61419f-6d30-45d0-9e4f-6d53a8e48e6d}.

Open the. Vbox file and edit it to remove the UUID 1d61419F-6d30-45d0-9e4F-6d53a8e48e6d as follows:

<AttachedDevice type="HardDisk" port="0" device="0">
    <Image uuid="{1d61419f-6d30-45d0-9e4f-6d53a8e48e6d}"/>
</AttachedDevice>
Copy the code

Could not read from Boot Medium! System Halted

The reason is that the virtual disk. Vdi in IDE controller is lost after the migration. The solution is to find the storage option in the Settings of the virtual system, select add virtual disk on SATA controller, and then load your VDI file. For example, F: VirtualBox VMs\ Homestead-7 \box-disk001.vmdk.

Trying to open a VM config which has the same UUID as an existing virtual machine

You can use VBoxManage internalcommands sethduuid <VDI/VMDK file>(Run from the VBox install directory) to change the HD UUID, but this has two shortcomings: it does not update the .vbox file, and it does not change the machine UUID (I did not find any way to do this with VBoxManage), just the HD UUID. The following worked for me (Win 7, most recent VirtualBox version): run VBoxManage internalcommands sethduuid <VDI/VMDK file> twice (the first time is just to conveniently generate an UUID, you could use any other UUID generation method instead) open the .vbox file in a text editor replace the UUID found in <Machine uuid="{... }" with the UUID you got when you ran sethduuid the first time replace the UUID found in <HardDisk uuid="{... }" and in <Image uuid="{}" (towards the end) with the UUID you got when you ran sethduuid the second time You can add the virtual machine after that. Not a very clean solution, but does not seem to cause any problem.Copy the code
  • Trying to open a VM config which has the same UUID as an existing virtual machine