VirtualBox安装Centos6.8出现E_INVALIDARG(0x80070057)的解决方法

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

VirtualBox安装Centos6.8出现E_INVALIDARG(0x80070057)的解决方法 Linux 第1张

问题描述:UUID已经存在

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

  because a hard disk 'E:system_isocentos68_02centos6.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:APPaux_toolsVirtualBox)

  2.执行 vboxmanage 生成新的 UUID

    格式: vboxmanage internalcommands sethduuid X:pathxxx.vdi

vboxmanage internalcommands sethduuid "E:system_isocentos68_01centos6.8.vdi"

VirtualBox安装Centos6.8出现E_INVALIDARG(0x80070057)的解决方法 Linux 第2张

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持脚本之家。

参与评论