I had to delete my virtual box .vhd files. I'm now trying to restore them from another machine but getting:
Virtual Box UUID {07c3.........} does not match the value {2c1b...}
stored in the media registry ('/home/durrantm/.VirtualBox/VirtualBox.xml')
How to overcome?
Here's what fixed this error for me (using VirtualBox 4.3):
To prevent the error in the future, before deleting the virtual disk image files, remove them from the Virtual Media Manager:
Simply try to rename the virtual disk file.
I had the same issue for a file that was first created thru a VB wizard, then overridden by another tool while cloning another disk. Thus, VB had some uuid assumption for a disk file at a specific path. In my case it was a some whatever.vdi
file and renaming it to whatever 2.vdi
solved the problem.
Detach the images from your VMs (in GUI or Webinterface)
goto Commandline
"VBoxManage list hdds"
UUID: c153f127-8fd9-4dc2-bc8b-8e39a8bb8238 Parent UUID: base State: inaccessible Type: normal (base) Location: /home/virtualbox/nas4free.vmdk Storage format: VMDK
"VBoxManage closemedium disk c153f127-8fd9-4dc2-bc8b-8e39a8bb8238"
Reattach the images from your VMs (in GUI or Webinterface)
This error message means that the UUID stored in the disk image does not match the UUID stored in the .vbox file. Open the disk image with a HEX editor. At the start you can see a plain text string like ddb.uuid.image="xxxx". Open the .vbox file with a text editor. You can also find a UUID in there, they look like <Harddisk uuid="{xxxxx}". Edit the .vbox file to match the UUID in the image file.
This error message is clearly misleading.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With