Answers:
我猜你要改变硬盘的UUID uuid是这样的 UUID {55b773b8-cbcb-42ea-9a44-1368b30ed823}
要设置硬盘驱动器的UUID,请在命令提示符中运行:
VBoxManage internalcommands setvdiuuid disk2.vdi
例如:VBoxManage internalcommands sethduuid disk2.vdi 55b773b8-cbcb-42ea-9a44-1368b30ed823
会工作。
smartctl -i /dev/whatever
。显示的序列号与UUID无关。
看起来命令已更改:
sethduuid <filepath> [<uuid>]
Assigns a new UUID to the given image file. This way, multiple copies
of a container can be registered.
所以在我的情况下它是:
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands sethduuid <vmdk location>
uuid
如果您不以任何方式填写新的,则会更改。