1,E_INVALIDARG (0x80070057),virtualbox中Cannot register the hard disk错误解决办法
virtualbox中加载已有的虚拟硬盘时出现Cannot register the hard disk错误,描述类似下面的。打开 虚拟硬盘 /home/kylinfish/virtualhost/opensuse.vmdk 失败.
Cannot register the hard disk '/home/kylinfish/virtualhost/opensuse.vmdk' ,because a hard disk '/home/kylinfish/virtualhost/opensuse.vmdk' with UUID already exists.
返回 代码: | E_INVALIDARG (0x80070057) |
组件: | VirtualBox |
界面: | IVirtualBox |
被召者 RC: | VBOX_E_OBJECT_NOT_FOUND (0x80BB0001) |
解决:关闭virtualbox,重新启动它,它会检测虚拟硬盘,可能会检测出来一些虚拟硬盘,请将其删除,然后就不会出现这个问题了。
2,NS_ERROR_FAILURE (0x80004005)
启动virtualbox虚拟磁盘时,报错Kernel driver not installed ,报错信息为:" Kernel driver not installed"。
解决:sudo /etc/init.d/vboxdrv setup,因为virtualbox的内核模块没有正常运行,所以最好要重新安装.