I have now created a new VM on VirtualBox, configured the machine settings by clicking "Machine -> Settings -> General -> Advanced" and then set:

"Shared Clipboard" and "Drag'n Drop" as "Bidirectional",

then installed and mounted the Guest Additions.

But if I try to copy and paste something to VirtualBox VM, it doesn't work at all and if I click on "Devices->Insert Guest Addditions CD Image" I get the error: "Unable to insert the virtual optical disk ...".

Do you maybe know how I can fix this?

Other information:

Host OS: Windows 8.1

Guest OS: Ubuntu 18.04.1

VBOX 5.2.16

Storage - GuestAdditions ISO screenshot

Thanks a lot in advance

  • 1
    How did you install and mount the Guest Additions if you got that error? You know that Guest Additions are for the guest only? That means not mounted nor installed on the host OS (Win8), but in an emulated drive in VBOX for the guest OS(Ubuntu). So if you want to "insert" the image, please look at what @Anurag posted, and check that you have an emulated Optical drive under "Storage" so you can mount the Guest Additions ISO. Also. If it's already mounted in Windows, the file could be locked, so that VBOX can't access it... – svin83 Oct 20 '18 at 16:33
  • But I have already installed them, even because I have full screen access now. So the question I have is: why am I not able to copy and paste something from my host to guest os? – Giulio Oct 21 '18 at 21:21
  • The question is still very hard to answer, because there are so very many things that could cause this. But Enabling shared clipboard and drag'n drop before installing the guest additions could lead to problems. – svin83 Oct 27 '18 at 12:56
  • Try Creating a new VM with Ubuntu 18.04 as guest, then click ok, just accept all defaults, without changing anything. Insert your ISO, and install from it. When setup is finished and the VM has restarted: Insert the Guest Additions iso, and run the install script. Then reboot your VM so the kernel modules are loaded. THEN after the VM is rebooted, and has the Guest Kernel Modules loaded: Enable Drag'n Drop, and Shared clipboard. – svin83 Oct 27 '18 at 12:58

If you have installed Guest Additions from the Ubuntu repository, they might not match the version of VirtualBox, so you might mount the Guest Additions CD and execute:

sudo apt purge virtualbox-guest-dkms
sudo /media/$USER/VBox_GAs_5.2.4/VBoxLinuxAdditions.run

Other things to try :

In the Ubuntu guest, try the following two commands in a terminal:

$ killall VBoxClient
$ VBoxClient-all

In the Windows host, kill VBoxTray.exe using the Task Manager, then restart it from the installation folder of VirtualBox.

In the Ubuntu guest, try the following command:

sudo VBoxClient --clipboard
  • Unfortunately this doesn't work:( – Giulio Oct 21 '18 at 10:43
  • Unfortunate if it doesn't work any more. – harrymc Oct 21 '18 at 10:47

Can you please check whether you have added Optical drive to your VM so you can mount Guest Addtions CD image. You can verify that by clicking on Storage >>

enter image description here

  • This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether. – Ramhound Oct 20 '18 at 15:35
  • Ok, I have just updated my question above with the information requested – Giulio Oct 20 '18 at 15:56
  • @Ramhound please review answer – Anurag Gawande Oct 20 '18 at 16:15
  • @Giulio see my edited answer can help you or no. – Anurag Gawande Oct 20 '18 at 16:18
  • @AnuragGawande Yes, I have just added a screenshot in the question description above. I should have that – Giulio Oct 20 '18 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.