Page 1 of 1

[Solved] Bigger size for *.vmdk - UUID error

Posted: 22. Sep 2017, 10:17
by grhansolo
Hi,

i use VirtualBox in Version 5.1.28 on a Linux Mint 17.3 System.

With the following commands i increased the size from the *.vmdk file.

Code: Select all

sudo VBoxManage clonehd "Windows7-disk1.vmdk" "cloned.vdi" --format vdi
sudo VBoxManage modifyhd "cloned.vdi" --resize 150000
sudo VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk
After that i started the virtual machine again with new bigger *.vmdk. I see the follow problem report:
Can not open the virtual machine in /media/sdb1-sicherung/virtuelle Boxen/Windows 7/Windows7-disk1.vbox.

Trying to open a VM config '/media/sdb1-sicherung/virtuelle Boxen/Windows 7/Windows7-disk1.vbox' which has the same UUID as an existing virtual machine.

Fehlercode:NS_ERROR_FAILURE (0x80004005)
Komponente:MachineWrap
Interface:IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}
Callee:IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}
What is my mistake and what can i do to solve this problem?

Re: Bigger size for *.vmdk - UUID error

Posted: 22. Sep 2017, 10:50
by mpack
That error message has nothing to do with the disk enlargement problem posed.

The error message says that you are trying to register a VM with a machine UUID that is already taken. I assume that you tried hand edited an existing .vbox to create a new VM but don't know how to do it properly. I suggest that you use the GUI to create your new VM: when you get to the disk creation step, move the VDI into the new VM folder then select it (i.e. try to ensure that the VDI file ends up inside the VM folder).

Re: Bigger size for *.vmdk - UUID error

Posted: 22. Sep 2017, 14:52
by grhansolo
Your solution works, thank you very much.

Re: [Solved] Bigger size for *.vmdk - UUID error

Posted: 22. Sep 2017, 15:39
by mpack
Thanks for reporting back.