User Tools

Site Tools


Action unknown: copypageplugin__copy
public:vbox_change_uuid

VirtualBox: change the UUID of Virtual Disk


Simply copying the .vdi file into another location will make a verbatim copy of the virtual disk, including the UUID of the disk.
If you try to add the copy in the Virtual Media Manager, you will get an error of duplicate UUID disk.

VBoxManage internalcommands setvdiuuid $path/hd.vdi

Since the old UUID is replaced with a new one, you can now add and use the virtual disk.

Please note, that you wouldn’t have to follow this procedure if you had used the clonevdi function to copy the virtual disk image, in the first place. The clonevdi function makes sure that the new disk image will have its own unique UUID.

The syntax of the clonedvi goes like this:

VBoxManage clonevdi Master.vdi Clone.vdi

source:
http://www.giannistsakiris.com/index.php/2009/05/06/virtualbox-how-to-change-the-uuid-of-virtual-disk-vdi/


return to gimbo wiki home page

public/vbox_change_uuid.txt · Last modified: by 127.0.0.1