2

I have Windows on my laptop as primary OS & Ubuntu on Virtual Machine. I want to copy a file from Ubuntu to Windows. Please, tell me any way to do this.

yuvi
  • 123
  • 1
  • 5
  • 1
    Here's shared folders: http://askubuntu.com/questions/161759/how-to-access-shared-folder-in-virtual-box and there's guest additions needed for that: http://askubuntu.com/questions/22743/how-do-i-install-guest-additions-in-virtualbox/22745#22745 – Takkat Feb 19 '14 at 12:44

4 Answers4

1

VirtualBox uses guest additions as extra tool to make working between a native and virtual machine easier. There are many howto's to be found, but this one worked for me some time ago:

HowTo

Noosrep
  • 2,154
1

You don't need to rely on Virtualbox addition.

You have first to create a shared directory lets say we want to make it on Ubuntu.

right click on the folder you want to share then go to sharing options , you'll see this enter image description here

Now click on the check box beside Share this folder and specify permissions down.

On your windows machine now run the run dialogue super+r Then enter the \\Ubuntu-ip

Now you can show the shared folder and thus you can share your files and folders easily

For more information check this

Maythux
  • 84,289
1

Use winscp!

This is independent of what hypervisor you use. The host can be windows or linux-based distro, use wine, if working on linux-bases distros(I have tested on Windows 7 and Ubuntu 12.10, works seemlessly).

This will give you a GUI to drag and drop files from/to the virtual machine from the host OS.

You need to provide the IP address of the host you are connecting to from the host. To know the IP address of the Ubuntu virtual machine, type ifconfig on a terminal in the VM.

winscp home screen

On pressing "Login", you will be presented with a warning to accept this connection or refuse.

warning

Accept this if you trust the VM.

file explorer

You can copy paste files from here.

jobin
  • 27,708
0

In the base machine, goto virtual box -> settings -> shared folders.

In Ubuntu, this folder will be available under /media/sf_FOLDER-NAME.

You might need a restart. Read the VirtualBox documentation for details