摘自:http://www.crifan.com/virtualbox_ubuntu_install_guest_addtions_fail_could_not_mount_the_media/
【問題】
在Virtualbox中的Ubuntu虛擬機器中,
安裝Guest Additions,出錯:
分配介質 虛擬光碟片 xxx\VBoxsGuestAdditions.iso
到虛擬電腦 xxx 失敗。您是否要強制卸載分配該介質。
Could not mount the media/drive xxx\VBoxsGuestAdditions.iso (VERR_PDM_MEDIA_LOCKED)
【解決過程】
1.別人也有類似問題:
Unable to mount VirtualBox Guest Additions as a guest (Win7 host)
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)
去,手動彈出對應的光碟片:
然後可以看到提示,已彈出了:
3.然後再重新操作一次:
裝置->安裝增強功能:
就可以正常掛載CDROM了。
然後輸入密碼後,就可以去安裝了:
安裝完畢,輸入斷行符號鍵。此安裝視窗就消失了。
【總結】
第一次掛載VBOXADDITIONS的CDROM,會出現這個錯誤。
手動彈出一下,再重新安裝Guest Additions,就可以了。