Wednesday, November 17, 2010

How to change VirtualBox VDI drive UUID

While working with virtual machines you often need to copy an existing virtual machine and go from there, however once you try add it to VirtualBox you will get a message like this:
A hard disk with UUID ... is already registered.
In this case what you need is re-generate UUID for the VDI image. Here is how you can do that:
VBoxManage internalcommands setvdiuuid my-virtual-drive.vdi
This way the virtual drive my-virtual-drive.vdi will be assigned a new UUID so it can be registered in VirtualBox Media Manager.

No comments :

Post a Comment