# Copied a VM to a new machine and it doesn't work

I'm very new to Virtual Machine concepts. I copied a VM that is working on a machine to an another machine, and I wasn't able to start the copied version.

When I tried to open it up, I get this error:

Trying to open a VM config /media/New Volume/vm/a.vbox which has the same UUID as an existing virtual machine

What went wrong here? What can I do to start the copied VM?

-

When you opened a moved vm, you should be asked , 'Did you move or copy it' - you selected move instead of copy. You might be able to simply edit the UUID (though the proper command would be VBoxManage.exe internalcommands sethduuid "C:\path\to\new\vdi" according to this site

-
This is Virtualbox... Not VMware... (Nonetheless, the problem is the same...) –  ppeterka Oct 19 '12 at 7:04
thanks, edited to reflect that. Annoyingly I have tabs for both open ;p –  Journeyman Geek Oct 19 '12 at 7:24

VirtualBox does not allow you to have multiple Virtual HDDs with the same UUID.

The error messages means that the virtual HDD is already being used in an another VM.

Two solutions are possible:

• Unmount the virtual HDD you are not using: In VirtualBox Manager, File -> Media Manager ( or the sortcut Ctrl + D) and unmount the HDD you are not using.
• Change the UUID of the virtual HDD. (I don't know how to do that and I don't think it is even possible)
-

Based on this:

Trying to open a VM config /media/New Volume/vm/a.vbox which has the same UUID as an existing virtual machine

What's happened is that the UUID (Universally Unique Identifier) of the VM which you've copied is the same as the UUID of another virtual machine which you have on the destination PC.

You can edit the "a.vbox" file, which is an XML file to change the UUID so that there is no conflict.

You may also have an issue with the VDIUUID of the virtual disk, an example of changing that can be found in this blog entry:

http://mixeduperic.com/ubuntu/how-to-copy-a-virtualbox-virtual-machine-in-ubuntu.html

-