Change hard disk UUID of Virtual Disk

Since I was used to copy&paste VHD file in VirtualPC, to clone virtual machine, I first tryed same procedure in VirtualBox, because I need to configure 2-3 vm in very-similar configuration.
Well, VirtualBox manage hard disk files differently than VirtualPC (attach & detach… ), and it doesn’t permit to attach “same” vdi file more than once … “same” vdi file.
VirtualBox knows vdi files via UUID, not filename.
Shortly, you need to change that UUID in you vdi file, with this (shell) command:

VBoxManage internalcommands setvdiuuid <full_path_to_vdi_file>

Well, you can work smartly and save your time, if you can clone disk in advance, via this (shell) command:

VBoxManage clonevdi <full_path_to_original_vdi_file> <full_path_to_brand_new_vdi_file>

source: VirtualBox: How to change the UUID of Virtual Disk (vdi)

Technorati tags: VirtualBox
Advertisements

Tags:

One Response to “Change hard disk UUID of Virtual Disk”

  1. Val Says:

    Thank you for the help. Seems like the command a changed a tiny bit.
    #VBoxManage internalcommands sethduuid
    that is the version that worked for me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: