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

This is for discussing general topics about how to use VirtualBox.
Post Reply
grhansolo
Posts: 2
Joined: 22. Sep 2017, 10:14

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

Post 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?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Bigger size for *.vmdk - UUID error

Post 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).
grhansolo
Posts: 2
Joined: 22. Sep 2017, 10:14

Re: Bigger size for *.vmdk - UUID error

Post by grhansolo »

Your solution works, thank you very much.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Post by mpack »

Thanks for reporting back.
Post Reply