13

I followed the steps but still can't drag and drop files to Virtualbox guest OS. I went to Settings, General, Advanced, clicked Bidirectional on both Shared Clipboard and Drag N Drop and i still can't drag or copy anything to the guest OS(Win7). Am i missing something?

  • 3
    drag'n'drop support feature requires the installation of VirtualBox Guest Additions. Make sure you don't install the Guest Additions package available in the official Ubuntu repository ("virtualbox-guest-additions") and instead, install the Guest Additions from the VirtualBox menu (Devices > Install Guest Additions). – Nim Aug 17 '13 at 3:09
  • I just tried it and I have linux on the guest and host and I draged the folder out the guest to the hosts folder and the folder disappeared from the guest and didn't appear in the host folder so where is the folder..?? – Spanner Jun 14 '14 at 10:27
7

Drag and Drop works only for Linux guests (guest: OS on the virtual machine)

Source:

Added experimental support for Drag'n'drop from the host to Linux guests. Support for more guests and for guest-to-host is planned.

https://www.virtualbox.org/wiki/Changelog

As guitar42697 said, you have to set a shared folder.

5

I know this is an old question and it's asking about doing the reverse (host is Linux, guest is Windows) but I hope this will help others like myself set up drag'n'drop where the host is Windows and guest is Linux.

In the VirtualBox window with the VM, click Devices > Insert Guest Additions CD image...

Devices > Insert Guest Additions CD image...

It will appear as a mounted CD in the Linux host OS. Follow the steps to install it, then reboot the VM.

Then enable Drag'n'Drop with Devices > Drag'n'Drop > Bidirectional

Devices > Drag'n'Drop > Bidirectional
(you can also choose another option if you don't want bidirectional drag'n'drop)

You may also want to enable Shared Clipboards with Devices > Shared Clipboard > Bidirectional.

3

Even after installing the virtualbox guest additions image the drag and drop option would not work at all. You need to install the standard Ubuntu packages for that use the three below commands and then enable the drag and drop option from the Menu-Devices-Drag and drop...

sudo apt-get install virtualbox-guest-dkms 
sudo apt-get install virtualbox-guest-utils
sudo apt-get install virtualbox-ext-pack

This post is inspired by how2shout.com.

1

I believe you must set up a shared folder, so you can drag things from ubuntu, into the folder, and it will appear in Windows 7, and vice versa. as far as I know, you cannot directly drag and drop items into virtualbox

0

I have a Ubuntu 12.04 guest running under Windows 7, and it happens to me quite a bit, that a shared folder will "suddenly" be "empty" (and/or unaccessible) when viewed from the guest (/media/sf_vmShare). I believe this happens when Ubuntu updates itself, sometimes. The solution is to re-install the Guest Additions, as per the instruction already posted and reboot the guest.

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.