How to check the uuid of a virtualbox vdi?
How can I check the uuid
of a vdi
or vmdk
?
There should be some command line on VBoxManage
to show it.
I k开发者_开发问答now I read it some place in the docs, but now for some reason I can't find it...
VBoxManage list vms
will list the virtual machines and their uuids without having to know the path to the particular vdi.
Run VBoxManage
and pass it showhdinfo
and your VDI:
VBoxManage.exe showhdinfo "c:\MyMachine.vdi"
You can open C:\Users\username\.VirtualBox\VirtualBox.xml
for .vbox
files:
<VirtualBox>
<Global>
<MachineRegistry>
<MachineEntry uuid="{11111111-1111-1111-1111-111111111111}" src="C:/mybox.vbox"/>
</MachineRegistry>
</Global>
</VirtualBox>
精彩评论