VirtualBox安装Centos6.8出现——E_INVALIDARG (0x80070057)

VirtualBox使用已有的虚拟硬盘出错:

VirtualBox安装Centos6.8出现——E_INVALIDARG (0x80070057)

问题描述:UUID已经存在

  Cannot register the hard disk 'E:\system_iso\centos6.8.vdi' {05f096aa-67fc-4191-983d-1ed00fc6cce9}

  because a hard disk 'E:\system_iso\centos68_02\centos6.8.vdi' with UUID {05f096aa-67fc-4191-983d-1ed00fc6cce9} already exists.

错误代码:

  返回 代码:E_INVALIDARG (0x80070057)

  组件:VirtualBoxWrap

  界面:IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}

  被召者 RC:VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

解决方法:

  1.打开cmd ,切换目录至virtual box的安装目录下:(我的在: D:\APP\aux_tools\VirtualBox)

  2.执行 vboxmanage 生成新的 UUID

    格式: vboxmanage internalcommands sethduuid X:\path\xxx.vdi

vboxmanage internalcommands sethduuid "E:\system_iso\centos68_01\centos6.8.vdi"
VirtualBox安装Centos6.8出现——E_INVALIDARG (0x80070057)
上一篇:Java zip and unzip demo


下一篇:jvm看java.lang.OutOfMemoryError: PermGen space