Change UUID of VM with UUID of real HD
Posted: 4. Apr 2011, 11:53
Hello, I'm a new in the forum. Thank you for your participation in the topic. I'm Italian and I don't speak English well and so I want to apologize for my bad English...
I have a dual both PC, in one partition I have installed Ubuntu 10.04 and in the other one Windows XP.
I use Virtualbox on my Ubuntu partition where I virtualize Windows XP.
On my real (not virtual) Windows XP I have a free software that I want to import and use on my virtual Windows XP.
The problem is that this free software have a license. I don't want to ask a new one because it is a long procedure.
I know that this software check some information of the hard disk where it works (maybe the UUID).
My Idea is to try change the UUID of my vdi image with the UUID of my real hard disk and then copy the software in the virtual machine.
1) Can I change my UUID without create a new VM?
With comand:
The answer is:
The partition with Windows XP have this UUID:
My virtual machine have this UUID:
I also try to create a new VM with UUID="16B4D7D8B4D7B887" but virtualbox give me an error....
When I use the comand:
the answer is
2) What is the problem?
Thank you very much, I hope someone have a solution.
I have a dual both PC, in one partition I have installed Ubuntu 10.04 and in the other one Windows XP.
I use Virtualbox on my Ubuntu partition where I virtualize Windows XP.
On my real (not virtual) Windows XP I have a free software that I want to import and use on my virtual Windows XP.
The problem is that this free software have a license. I don't want to ask a new one because it is a long procedure.
I know that this software check some information of the hard disk where it works (maybe the UUID).
My Idea is to try change the UUID of my vdi image with the UUID of my real hard disk and then copy the software in the virtual machine.
1) Can I change my UUID without create a new VM?
With comand:
Code: Select all
blkidCode: Select all
/dev/sda2: UUID="16B4D7D8B4D7B887" TYPE="ntfs"
/dev/sda3: TYPE="swap"
/dev/sda4: UUID="e09d625a-7ead-4b3b-aa23-b90fc44fa24d" TYPE="ext4"
/dev/sda5: LABEL="Dati" UUID="13EC58FC76198431" TYPE="ntfs" Code: Select all
/dev/sda2: UUID="16B4D7D8B4D7B887" TYPE="ntfs" Code: Select all
UUID: fc214cea-3321-4fb2-a916-452f2ed6f398When I use the comand:
Code: Select all
VBoxManage createvm --uuid 16B4D7D8B4D7B887Code: Select all
error: Invalid UUID format 16B4D7D8B4D7B887Thank you very much, I hope someone have a solution.