Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shared folder between MacOSX and Windows on Virtual Box

I need to set up shared folder.

I've got Mac OSX Yosemite host and clean Win7 x64 on the VirtualBox.

In MacOSX, i go to the VirtualBox -> win7 settings -> "Shared Folders" -> Add shared folder -> creating folder /Users/my_name/Documents/win7 -> Make it permanent -> Click ok.

What i should do in Windows then?

Thank you.

like image 647
ServerSideCat Avatar asked Dec 08 '14 10:12

ServerSideCat


People also ask

How do I share a Windows folder with a Mac on the same network?

To share a folder, right-click the folder's icon, then choose Properties. Click the Share tab and follow the onscreen instructions. You may need to disable the Internet Connection Firewall in the Advanced pane of the device's properties.

Can a Mac access a Windows shared folder?

In the Finder on your Mac, choose Go > Connect to Server, then click Browse. Find the computer's name in the Shared section of the Finder sidebar, then click it to connect. You may need to click All to see all the shared computers. When you locate the shared computer or server, select it, then click Connect As.


2 Answers

Edit

4+ years later after the original reply in 2015, virtualbox.org now offers an official user manual in both html and pdf formats, which effectively deprecates the previous version of this answer:

  • Step 3 (Guest Additions) mentioned in this response as well as several others, is discussed in great detail in manual sections 4.1 and 4.2
  • Step 1 (Shared Folders Setting in VirtualBox Manager) is discussed in section 4.3

Original Answer

Because there isn't an official answer yet and I literally just did this for my OS X/WinXP install, here's what I did:

  1. VirtualBox Manager: Open the Shared Folders setting and click the '+' icon to add a new folder. Then, populate the Folder Path (or use the drop-down to navigate) with the folder you want shared and make sure "Auto-Mount" and "Make Permanent" are checked.
  2. Boot Windows
  3. Once Windows is running, goto the Devices menu (at the top of the VirtualBox Manager window) and select "Insert Guest Additions CD Image...". Cycle through the prompts and once you finish installing, let it reboot.
  4. After Windows reboots, your new drive should show up as a Network Drive in Windows Explorer.

Hope that helps.

like image 173
xinampc Avatar answered Sep 20 '22 15:09

xinampc


You should map your virtual network drive in Windows.

  1. Open command prompt in Windows (VirtualBox)
  2. Execute: net use x: \\vboxsvr\<your_shared_folder_name>
  3. You should see new drive X: in My Computer

In your case execute net use x: \\vboxsvr\win7

like image 42
lu_ko Avatar answered Sep 19 '22 15:09

lu_ko