Search This Site

Pages

Tuesday, November 16, 2010

Changing UID of virtual Hardisk of Virtual Box

The situation of changing the UID of virtual Hardisk of Virtualbox arises when you want to use the existing hard disk to create a new virtual machine(VM) without going through the whole process of installing the OS. The virtualbox simply don't accept the existing hard disks. To get around that you need to change the virtual hard disks UID(Unique Identifier). The virtualbox provides you with this facility inside it's package. Follow these steps:

a) Open command prompt: Start->run->cmd
b) Go to the path where your virtualbox is installed which is normally is in your
c:\program files.
Type "cd D:\Virtual-Box"
c) Once inside the directory type in:

"VBoxManage internalcommands setvdiuuid d:\Vm-HDD\Win-2003-Server-adc.vdi"

Note: VBoxManage is the application which changes the UID of the hard disk.
"d:\Vm-HDD" is the location where you store your virtual hard disks.
"Win-2003-Server-adc.vdi " is the name of your harddisk. So change it according to your virtual hard disks name.

1 comment: