在Virtualbox中的Ubuntu虚拟机中,安装Guest Additions客户端增强包

来源:互联网 发布:zealer续航数据库 编辑:程序博客网 时间:2024/05/22 14:39

【问题】

在Virtualbox中的Ubuntu虚拟机中,

安装Guest Additions,出错:

分配介质 虚拟光盘 xxx\VBoxsGuestAdditions.iso

到虚拟电脑 xxx 失败。您是否要强制卸载分配该介质?

 

Could not mount the media/drive xxx\VBoxsGuestAdditions.iso (VERR_PDM_MEDIA_LOCKED)

 

could not mount the media drive

 

【解决过程】

1.别人也有类似问题:

Unable to mount VirtualBox Guest Additions as a guest (Win7 host)

unable to mount

 

Can not Mount guest additions in guest linux

Unable to mount the cd/dvd image 
/usr/share/virtualbox/VBoxGuestAdditions.iso on the 
machine Perciseforwine. Would you like to force mounting 
of this medium? 
Details

 

Result Code: 
NS_ERROR_FAILURE (0x80004005) 
Component: 
Console 
Interface: 
IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392} 
Callee: 
IMachine {22781af3-1c96-4126-9edf-67a020e0e858}

 

2.参考:

Unable to mount VirtualBox Guest Additions as a guest (Win7 host)

去,手动弹出对应的光盘:

right click cdrom eject

然后可以看到提示,已弹出了:

vbox addtions eject ok

 

3.然后再重新操作一次:

设备->安装增强功能:

device install guest additions

就可以正常挂载CDROM了。

然后输入密码后,就可以去安装了:

can run ok

安装完毕,输入回车键。此安装窗口就消失了。

 

【总结】

第一次挂载VBOXADDITIONS的CDROM,会出现这个错误。

手动弹出一下,再重新安装Guest Additions,就可以了。

0 0