Page 1 of 1
[Solved] hardware uuid not saved after restart
Posted: 12. Feb 2019, 21:41
by darkstudio
hi, with a old version of virtualbox (5.1) when we change hardware uuid, it will be saved and keep on VM.
Since 5.2 version, when we try to change hardware uuid, the uuid is not saved on because when we restart VM, the uuid is automaticaly reset to default .
Any solutions ?
Thanks
Re: hardware uuid not saved after restart
Posted: 12. Feb 2019, 22:07
by socratis
Can you please tell me which exactly UUID you're referring to? And which command exactly did you use?
Re: hardware uuid not saved after restart
Posted: 12. Feb 2019, 22:15
by darkstudio
On version 5.1, we can use the command : VBoxManage modifyvm "MACHINE_NAME" --hardwareuuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx and it will be saved on VBOX file to force a hardware uuid.
Since version 5.2, when we use same command, the vbox file is modified but when we start VM, the vbox is overwriten and delete the hardware uuid forced.
Re: hardware uuid not saved after restart
Posted: 12. Feb 2019, 22:55
by socratis
I created a new VM, "1":
$ VBoxManage showvminfo "1"
Name: 1
Groups: /
Guest OS: DOS
UUID: 39bb8b30-4c27-4885-8689-a9639da7faff
Config file: /Users/Shared/VirtualBox/Machines/1/1.vbox
Snapshot folder: /Users/Shared/VirtualBox/Machines/1/Snapshots
Log folder: /Users/Shared/VirtualBox/Machines/1/Logs
Hardware UUID: 39bb8b30-4c27-4885-8689-a9639da7faff
...
I then did a
which resulted in:
$ VBoxManage showvminfo "1"
Name: 1
Groups: /
Guest OS: DOS
UUID: 39bb8b30-4c27-4885-8689-a9639da7faff
Config file: /Users/Shared/VirtualBox/Machines/1/1.vbox
Snapshot folder: /Users/Shared/VirtualBox/Machines/1/Snapshots
Log folder: /Users/Shared/VirtualBox/Machines/1/Logs
Hardware UUID: 12345678-1234-1234-1234-1234567890ab
...
and in the "1.vbox" file, I see the following entry:
<Hardware uuid="{12345678-1234-1234-1234-1234567890ab}">
So, I'm not sure what you're referring to exactly...
Re: hardware uuid not saved after restart
Posted: 12. Feb 2019, 23:22
by darkstudio
U can change hardware uuid but when you start vm, the vbox is overwrited when VM is STARTED and hardware uuid fixed is deleted.
I have try alll 5.2, all 5.2 doesn"t work anymore to change hardware uuid BUT is have just install 6.0.4 and apparently its fixed.
Re: hardware uuid not saved after restart
Posted: 12. Feb 2019, 23:26
by socratis
darkstudio wrote: just install 6.0.4 and apparently its fixed.
Ah, maybe that's why I didn't see what you were reporting, I was already using 6.0.4.
Glad it's working now, marking as [Solved].
Re: hardware uuid not saved after restart
Posted: 12. Feb 2019, 23:57
by darkstudio
I made some test and i will come back to report if its ok
thanks
EDIT: its works on 6.0.4 !