Having a problem changing .vhd UUID

Discussions related to using VirtualBox on Windows hosts.
Post Reply
SammyNageski
Posts: 5
Joined: 25. Oct 2012, 17:54

Having a problem changing .vhd UUID

Post 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!
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Having a problem changing .vhd UUID

Post 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?
SammyNageski
Posts: 5
Joined: 25. Oct 2012, 17:54

Re: Having a problem changing .vhd UUID

Post by SammyNageski »

The gui runs fine. In fact, just shut down a different vbox, before I tried running the command.

Going to reboot.
SammyNageski
Posts: 5
Joined: 25. Oct 2012, 17:54

Re: Having a problem changing .vhd UUID

Post 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.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Having a problem changing .vhd UUID

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

Re: Having a problem changing .vhd UUID

Post 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.
Post Reply