jueves, 7 de enero de 2010

Changing the UUID of a disk for a virtual machine on Sun Virtual Box

Hello everyone!!!
First of all, I want to wish to every person who visits this site a happy new year.
2009 has been a very difficult year for a lot of people i know (even myself) , and i hope 2010 to be much better with a lot of new challenges, experiences, etc...
Back to our blog, i want to share a tip that will allow us to duplicate the UUID of a disk.
This is very helpful when you need to reuse a clean operating system installation on several vms on the same machine.
By default Virtual Box will complain with a message saying that
"hard disk with UUID {55b773b8-cbcb-42ea-9a44-1368b3XXXX} or with the same properties is already registered" failing to load the disk.
In order to avoid this, just type :
VBoxManage internalcommands setvdiuuid |diskname.vdi|
and a new UUID will be generated and assigned.
Ciaooo!

No hay comentarios:

Publicar un comentario