I’m 95% sure that this is something that is talked about on another blog somewhere. This is about getting a VM from one computer to another on VirtualBox when the source VM is from the same OS as the destination.
Things you need:
- A .vdi file from the source computer. (in Vista/Win7 it is in C:\Users\Username\.VirtualBox\HardDisks)
- The entire machine folder from the source computer (C:\Users\Username\.VirtualBox\Machines
The Process:
- Copy these files to the relative same locations on the destination computer.
- On the destination machine find and open for editing the VirtualBox.xml file.(C:\Users\UserName\.VirtualBox\VirtualBox.xml by default)
- On the destination machine find and open for editing the machineName.xml file in the machines folder.
- Copy the entire uuid attribute from the VirtualBox/Machine node.
- In VirtualBox.xml find the node VirtualBox/Global/MachineRegistry
- Add a new <MachineEntry /> node to the MachineRegistry node. Should loook like this:
- Add the uuid attribute you copied from the machineName.xml file to the MachineEntry node.
- Add a src attribute to the MachineEntry node with .VirtualBox as the root like:
- Save the VirtualBox.xml file and close
- Run the VirtualBox application.
- Open the Virtual Media Manager (ctrl + D or File > Virtual Media Manager)
- Select the Hard Disks tab and then click Add (along the top).
- Browse to the .vdi file you copied to .VirtualBox\Hard Disks in step 1. Select it and click open. Click Ok.
- Select your virtual machine and click Start.
- Fin
<MachineRegistry>
<MachineEntry />
</MachineRegistry>
<MachineEntry uuid="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" src="Machines\MachineFolderName\MachineName.xml" />
Comments