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

Discussions related to using VirtualBox on Windows hosts.
www1044
Posts: 4
Joined: 22. May 2009, 01:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows 2003

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

Post 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?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post by Perryg »

Is you VBox really OES other? and what is the version of it.
www1044
Posts: 4
Joined: 22. May 2009, 01:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows 2003

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

Post by www1044 »

sorry, the host is windows xp
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post by Perryg »

No Dude.

What is the version of your Virtualbox and is it OSE or PUEL?
www1044
Posts: 4
Joined: 22. May 2009, 01:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows 2003

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

Post by www1044 »

PUEL v2.2.2 r46594
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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.
www1044
Posts: 4
Joined: 22. May 2009, 01:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows 2003

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

Post by www1044 »

thanks for the quick reply, I'll try that.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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>
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Techno.Scavenger
Posts: 100
Joined: 11. Nov 2007, 22:04

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

Post 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.
wcilley
Posts: 4
Joined: 8. Sep 2009, 23:12
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: WinXP

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

Post 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
Last edited by wcilley on 9. Sep 2009, 15:08, edited 2 times in total.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post by Sasquatch »

Clone it to the VDI type, then it will work. Add the -format VDI option.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
wcilley
Posts: 4
Joined: 8. Sep 2009, 23:12
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: WinXP

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

Post 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
Last edited by wcilley on 9. Sep 2009, 15:09, edited 2 times in total.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
wcilley
Posts: 4
Joined: 8. Sep 2009, 23:12
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: WinXP

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

Post 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.
wcilley
Posts: 4
Joined: 8. Sep 2009, 23:12
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: WinXP

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

Post 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
Post Reply