LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Update VirtualBox VM UUID (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/update-virtualbox-vm-uuid-4175699088/)

wagscat123 08-12-2021 03:26 PM

Update VirtualBox VM UUID
 
Hi all,


I keep trying to add a *.vbox file packaged with a *.vmdk virtual machine. When I add to add that VM to my VirtualBox, I get the error:



Code:

  Trying to open a VM config '/Users/jrsharp3/Documents/vm_share/WISP_1.3.0/WISP_1.3.0.vbox' which has the same UUID as an existing virtual machine.
p, li { white-space: pre-wrap; }


even if I run the command
Code:

VBoxManage internalcommands sethduuid
on it.


How can I fix this? I added a version of the machine in already, but modified it. I want to have both the modified and unmodified version in VirtualBox

Aeterna 08-12-2021 07:22 PM

Quote:

Originally Posted by wagscat123 (Post 6274755)
Hi all,


I keep trying to add a *.vbox file packaged with a *.vmdk virtual machine. When I add to add that VM to my VirtualBox, I get the error:



Code:

  Trying to open a VM config '/Users/jrsharp3/Documents/vm_share/WISP_1.3.0/WISP_1.3.0.vbox' which has the same UUID as an existing virtual machine.
p, li { white-space: pre-wrap; }


even if I run the command
Code:

VBoxManage internalcommands sethduuid
on it.


How can I fix this? I added a version of the machine in already, but modified it. I want to have both the modified and unmodified version in VirtualBox

Maybe machine was registered (partially successful). Try first:
Quote:

vboxmanage list hdds
if you will see your machine listed, remove UUID first:
Quote:

vboxmanage closemedium disk uuid_of_your_machine --delete

GentleThotSeaMonkey 08-12-2021 08:03 PM

Have you seen like https://superuser.com/questions/4681...virtual-machin
? "Trying to open a VM config" "which has the same UUID as an existing virtual machine" web-search finds some ...
The VirtualBox.org forums seem to get good&prompt replies VB experts', esp. to sophisticated (='good') questions like this (but their first response is often: "log?"?)

Aeterna 08-13-2021 09:21 AM

Quote:

Originally Posted by GentleThotSeaMonkey (Post 6274789)
Have you seen like https://superuser.com/questions/4681...virtual-machin
? "Trying to open a VM config" "which has the same UUID as an existing virtual machine" web-search finds some ...
The VirtualBox.org forums seem to get good&prompt replies VB experts', esp. to sophisticated (='good') questions like this (but their first response is often: "log?"?)

link(S) refers to cloned machines, in OP case something happened and installation was incomplete leaving traces in the form of UUID. Just remove offending UUID. This does not solve a reason why VM machine could not be installed in the first place.


All times are GMT -5. The time now is 12:57 AM.