Oracle VM VirtualBox 打开复制虚机报错

来源:互联网 发布:淘宝超市加盟 编辑:程序博客网 时间:2024/05/21 16:55

Oracle VM VirtualBox 


which has the same UUID as an existing virtual machine.


  1. run VBoxManage internalcommands sethduuid <VDI/VMDK file> twice (the first time is just to conveniently generate an UUID, you could use any other UUID generation method instead)
  2. open the .vbox file in a text editor
  3. replace the UUID found in <Machine uuid="{...}" with the UUID you got when you ran sethduuid the first time
  4. replace the UUID found in <HardDisk uuid="{...}" and in <Image uuid="{}" (towards the end) with the UUID you got when you ran sethduuid the second time

You can add the virtual machine after that. Not a very clean solution, but does not seem to cause any problem.


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

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

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

C:\Program Files\Sun\VirtualBox>VBoxManageinternalcommands sethduuid D:\path\ubuntu.vdi

然后重新导入即可。

0 0