The Computer Oracle

Virtual Machine (VirtualBox) -- How to access files from the hosting machine?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Intrigue Looping

--

Chapters
00:00 Virtual Machine (Virtualbox) -- How To Access Files From The Hosting Machine?
00:43 Accepted Answer Score 31
01:13 Answer 2 Score 8
01:55 Answer 3 Score 2
02:18 Thank you

--

Full question
https://superuser.com/questions/381661/v...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #virtualbox #virtualmachine #sharedfolders

#avk47



ACCEPTED ANSWER

Score 31


There are several ways to accomplish this.

You can use VBox's own Shared folders feature.

For this: Go to Settings of the Virtual Machine and then select: Shared Folders.

Click on Add Shared Folder button. Specify folder path and folder name.

In Virtual Machine you go to \\vboxsrv\

you would see your folders.

You can also Create a network share and access that share from within B to A.




ANSWER 2

Score 8


I assume you have your VM up and running. Follow these steps:

  1. On the VM window, Go to Tools -> Insert Guest additions CD Image. enter image description here

  2. You'll see a new CD drive in My computer. open it and start "VBoxWindowsAdditions"enter image description here

  3. Follow setup to install guest addition on the Guest machine. Reboot the guest.
  4. Next, open VM settings:enter image description here
  5. Go to Shared Folders -> right click -> add shared folder -> add the folder you want to share: enter image description here
  6. Your shared folder will appear under My Computer in the guest machine.

You can follow similar method for other operating systems too.




ANSWER 3

Score 2


Another option is just to copy files:

Select Virtual Machine and go to Settings - General - Advanced, there you can configure Shared clipboard and Drag'n'Drop support. I selected Bidirectional option for both.

Now you can drag-drop files between Host and Guest, also you can copy text in Host machine and Paste it on Guest VM (and vice-versa)