I had a Ubuntu version 16 running in a virtualbox, and wanted copy text from host to the virtual machine. But it didn’t work. It turns out you need to install the Guest Additions CD image. There is an option from the Devices -> Insert guest additions CD image, but I got then this error message:

Unable to insert the virtual optical disk E:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine cytomin.

Could not mount the media/drive ‘E:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso’ (VERR_PDM_MEDIA_LOCKED).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}


The solution was simple enough, just had to run this command:

sudo apt-get install virtualbox-guest-utils

Leave a Reply

Your email address will not be published. Required fields are marked *