Page 1 of 2

UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 02:00
by www1044
Hello,

I'm new to virtualbox. I've setup windows 2003. I tried to copy it, but when I used virtual media manager to add the hard disk, I get this error, " :( UUID of the hard disk is already exist in the media registry". Is there a way to change the hard disk UUID or clone it?

Re: UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 02:18
by Perryg
Is you VBox really OES other? and what is the version of it.

Re: UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 02:22
by www1044
sorry, the host is windows xp

Re: UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 02:28
by Perryg
No Dude.

What is the version of your Virtualbox and is it OSE or PUEL?

Re: UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 02:40
by www1044
PUEL v2.2.2 r46594

Re: UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 02:45
by Perryg
Alrighty then,
The easiest way to make a copy of an installed VM is to export it and then import it. You will have (2) copies of the exact same thing with one being called xxxxx_1.
It will automatically create the new UUID for you. Look in the VBox program under file. It is all there. Also if you want to learn more about the program you can click on Help and contents. Pretty must the good book of VBox.

Re: UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 02:54
by www1044
thanks for the quick reply, I'll try that.

Re: UUID of the hard disk is already exist in the media registry

Posted: 22. May 2009, 13:02
by Sasquatch
Why so much trouble? It's discussed several times already here on the forums. Run this command on the copy:

Code: Select all

VBoxManage internalcommands sethduuid <full path + filename>

Re: UUID of the hard disk is already exist in the media registry

Posted: 27. May 2009, 19:10
by Techno.Scavenger
You can also do:

Code: Select all

vboxmanage clonehd <path_to_original_vdi> <path_to_new_vdi_file>
Ensure that your path system variable sees vboxmanage.

Re: UUID of the hard disk is already exist in the media registry

Posted: 8. Sep 2009, 23:25
by wcilley
Team,
working with the command to change UUID on a VHD in WinXP, executes successfully, but trying to bring it in to vBox shows that the UUID had not been changes. See the screen shot here and advise.... Thanks in advance...
Image

Re: UUID of the hard disk is already exist in the media registry

Posted: 8. Sep 2009, 23:30
by Sasquatch
Clone it to the VDI type, then it will work. Add the -format VDI option.

Re: UUID of the hard disk is already exist in the media registry

Posted: 8. Sep 2009, 23:51
by wcilley
Thanks for the rapid response, I don't think I'm out of the woods quite yet. I belive I'm at the issue with CLONEHD not working with VDH as documented in ticket 3443 and 4080. Those tickets posts as closed, but my googling suggests it may still be an issue, and that's what took me to SETHDUUID earlier.

http://www.virtualbox.org/ticket/3443
http://www.virtualbox.org/ticket/4080

Here is a screen shot of the CLONEHD command giving the same error as in ticket 4080
Image

Re: UUID of the hard disk is already exist in the media registry

Posted: 9. Sep 2009, 00:00
by Sasquatch
Screenshots are not visible, they show as not found. Link to images in a proper way, linking to the actual image instead of the page they reside on. Images end with .png or .jpg usually.

Re: UUID of the hard disk is already exist in the media registry

Posted: 9. Sep 2009, 00:07
by wcilley
I've edited the links so they end in the JPG... They show the command lines and the returns/results.

1) Posting that shows SETHDUUID to new ID, but vBox still sees old ID, ( file time stamp does not change when SETHDUUID run )
http://home.fuse.net/cilley/2009-09-08_ ... hanged.JPG

2) Posting that shows CLONEHD failes on the VHD file type, as documented in those other problem tickets.
http://home.fuse.net/cilley/2009-09-08_ ... ot_vhd.JPG

I'm tempted to re-open one of those old tickets, or a new ticket outright on support of VHD and UUIDs, but will see what comes of this Forum post over the next day or so. Thanks all for your assist.

Re: UUID of the hard disk is already exist in the media registry

Posted: 15. Sep 2009, 18:52
by wcilley
Greetings. I went ahead and posted defects. Best Regards to all.

For defect with CLONEHD and VHD
http://www.virtualbox.org/ticket/5005

For defect with SETHDUUID and VHD
http://www.virtualbox.org/ticket/5004