Last active
October 21, 2022 12:43
-
-
Save BillRizer/49fb0b016d76bd26f41bb749d36e8724 to your computer and use it in GitHub Desktop.
How to Fix: VirtualBox UUID already exists hard disk (ubuntu / windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
“Failed to open the hard disk E:\VirtualBox VMs\Windows 8 \Windows 8 Enterprise2.vhd. | |
Cannot register the hard disk ‘E:\VirtualBox VMs\Windows 8 \Windows 8 Enterprise2.vhd’ | |
{ca2bdc6a-a487-4e57-9fcd-509d0c31d86d} because a hard disk | |
‘E:\VirtualBox VMs\Windows 8 Enterprise\Windows 8 Enterprise2.vhd’ with UUID {ca2bdc6a-a487-4e57-9fcd-509d0c31d86d} already exists. | |
Result Code: | |
E_INVALIDARG (0x80070057) | |
Component: | |
VirtualBox | |
Interface: | |
IVirtualBox {3b2f08eb-b810-4715-bee0-bb06b9880ad2} | |
Callee RC: | |
VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)” | |
-- | |
== Ubuntu: | |
# use this for locate binary vbox manager | |
$ locate vboxmanage | |
# output: | |
# /usr/bin/vboxmanage | |
# now change UUID | |
$ /usr/bin/vboxmanage internalcommands sethduuid "/path/my/harddisk.vdi" | |
# after try import harddisk again. | |
== Windows: | |
# open CMD (prompt) and run this: | |
C:\Program Files\Oracle\VirtualBox\VBOXMANAGE.EXE internalcommands sethduuid “X:\path\my\harddisk.vdi” | |
# after try import harddisk again. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment