jump to navigation

Virtu2! Wrong fix works(!) for VBox err: Cannot register the hard disk because a hard disk with uuid already exists April 7, 2015

Posted by geek-ish.com in Dev.
Tags: ,
trackback

*** Caveat: This may be wrong for you but worked like a charm for me! Just saying. ***

Issue:  This error is thrown when trying to reuse a vm-orphaned VBox vhd with a new vm:  “Cannot register the hard disk because a hard disk with uuid already exists“.

Cause(me, unsupported) It seems the vhd uuid is uniquely registered to a specific, orphaned vm and trying to reuse this vhd without removing that orphaned registration entry causes an erroneous duplication in the vm registry.

Fix:  (me, unsupported)  Crack the vhd (Notepad works) and replace the duplicate uuid with a new, unregistered uuid. No guarantees, but again, it worked swell for me.

vboxVhd

DetailsToo often, I blow up a vbox vm config but still need its vhd to use with a new vbox config.  Good luck. Trying to reuse the vhd with a new config very often results in an error containing a message like this:  ‘Cannot register the hard disk because a hard disk with uuid already exists‘. I searched for similar experiences online and found this right answer here:  https://forums.virtualbox.org/viewtopic.php?f=3&t=14976.  After a lil investigation of the vhd itself (using Notepad), I found the uuid in question and replaced the duplicate uuid with a new guid using this service:  https://guidgenerator.com/. I realize this could not be the right answer for you, but it worked like a mug for me.

HTH, but comment or buzz me if you have something to add:  ti55@yahoo.com.
peace.

 

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: