拷贝VirtualBox虚拟机后,修改UUID

解决方法:

用命令行进入VirtualBox的安装目录,使用下面的命令:


C:\Program Files\Sun\VirtualBox>VBoxManage internalcommands setvdiuuid "D:\path\ubuntu.vdi"

注意,在virtualbox4.0.4以上该命令改为

C:\Program Files\Sun\VirtualBox>VBoxManage internalcommands sethduuid "D:\path\ubuntu.vdi"

然后重新导入即可。

这是一个重新设置UUID号的命令,VirtualBox没有集成到GUI环境中,只能在命令行中使用。

猜你喜欢

转载自cunningfox.iteye.com/blog/2088153