To use “
Shared Folders” in
VirtualBox, the user should install
VirtualBox guest additions:
Insert Guest Additions CD image. If the
Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine CentOS. Would you like to try to force insertion of this disk? Count not mount the media/drive 'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
It means the
CD/DVD DEvices already has
ISO file. Please inject it, and try
Insert Guest Additions CD image again.
(2) Mount the
mount /dev/cdrom /mnt
(3) Install the
VirtualBox guest additions (Take
Linux as an example):
cd /mnt ./VBoxLinuxAdditions.run
You may also need to install
gcc and kernel files to install guest additions successfully. When meeting errors, please refer
/var/log/vboxadd-install.log for detail info.