To set a UUID of a hard drive run this VBoxManage internalcommands sethduuid disk.vdi