Monday, 23 April 2012

VirtualBox - error after moving VDI file - Failed to open the hard disk

I was running out of disk space, so I needed to move virtual disk drive (VDI file) to another partition. As normally (read: in other virtualization tools) I removed/detached VDI file from virtual machine, moved it to new partition and added to existing virtual machine in this step error occurred:

"Failed to open the hard disk filepath.vdi
Cannot register the hard disk filepath guid because a hard disk different filepath.vdi with UUID guid already exists.guid "

Solution:
Run following command "vboxmanage internalcommands sethduuid filepath.vdi"

PS vboxmanage.exe is normally located in "C:\Program Files\Oracle\VirtualBox"

1 comment:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru Dot Net Training in Chennai. Nowadays Dot Net has tons of job opportunities on various vertical industry.
    or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.

    ReplyDelete