Page 1 of 1

Having a problem changing .vhd UUID

Posted: 25. Oct 2012, 18:00
by SammyNageski
Hi,
I've tried various solutions, using the search on the forums. Nothing is helping.

Here's the background. Converting some .vhds from VPC over to VirtualBox.

Adding in a 2nd machine, with a harddrvie from VPC. I'm getting the following error:

Cannot register the hard disk 'D:\VMs\VBox\Dev_VS2005\Win2K2005.vhd' {9bc26d0b-aafb-d911-80b3-c39961547fe1} because a hard disk
'D:\VMs\Dev\Dev_(vs2002)\Virtual Hard Disks\Dev_CDrive.vhd' with UUID {9bc26d0b-aafb-d911-80b3-c39961547fe1} already exists.

Ok. I think I understand what is happening. I need to change UUIDs (in the VPC world, I used a base hard drive to create multiple VPCs by simply copying the .vhd file and using the copied vhd for a new VPC). Looks like VBox doesn't like that.

Ok, so I try to change the UUID by calling:
C:\Program Files\Oracle\VirtualBox>VBOXMANAGE.EXE internalcommands sethduuid D:\VMs\VBox\Dev_VS2005\Win2K2005.vhd

Except, I get the following error:
VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execu
tion failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or
failed to start.


Any suggestions? I just upgraded to the latest version of VBox and extention pack.

Thanks!

Re: Having a problem changing .vhd UUID

Posted: 25. Oct 2012, 18:18
by michaln
You're not having trouble changing UUIDs, you're having trouble running VirtualBox at all. This looks like the installation may have somehow failed... can you start the VirtualBox GUI?

Re: Having a problem changing .vhd UUID

Posted: 25. Oct 2012, 18:22
by SammyNageski
The gui runs fine. In fact, just shut down a different vbox, before I tried running the command.

Going to reboot.

Re: Having a problem changing .vhd UUID

Posted: 25. Oct 2012, 18:33
by SammyNageski
Ok, rebooting fixed it. I changed the UUID, and was able to boot to the HD.

Unfortunately, neither my keyboard or mouse seem to work. Can't even log in to the machine.

Have to do some investigating.

Re: Having a problem changing .vhd UUID

Posted: 26. Oct 2012, 10:59
by michaln
SammyNageski wrote:Ok, rebooting fixed it.
That doesn't make a lot of sense actually... something very strange is going on with your host machine.

Re: Having a problem changing .vhd UUID

Posted: 26. Oct 2012, 11:58
by mpack
SammyNageski wrote:neither my keyboard or mouse seem to work. Can't even log in to the machine.
When porting a VM from another VM platform, you need to remove their special drivers e.g. for keyboard and mouse. After the event you may be able to do it in safe mode.