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.
Auto-mount
in Virtual Box Manager when you create the share so it automatically gets mounted each time you start your VM.
My Computer
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:
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. Boot Windows 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. After Windows reboots, your new drive should show up as a Network Drive in Windows Explorer.
Hope that helps.
You should map your virtual network drive in Windows.
Open command prompt in Windows (VirtualBox) Execute: net use x: \\vboxsvr\
In your case execute net use x: \\vboxsvr\win7
Using a Windows 10 guest, after I performed steps 1 through 3 from @xinampc's answer, I had to open a new File Explorer and navigated to This PC > CD Drive (D:) VirtualBox Guest Additions to run VBoxWindowsAdditions. After I ran that and went through the command prompts, Windows rebooted and I was able to see VBOXSVR under Network.
I had the exact same issue, after rightly have configured in Mac OSX host a SharedFolder with Auto-Mount enabled. On the Guest OS, it is also required to install VirtualBox Guest Additions. For the case of Windows, it is:
VBoxWindowsAdditions.exe
Right after this installation, i could perfectly view the shared folder content under This PC and Network ("\VBOXSVR\Installers").
Yesterday, I am able to share the folders from my host OS Macbook (high Sierra) to Guest OS Windows 10
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:
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. Boot Windows Download the VBoxGuestAdditions_4.0.12.iso from http://download.virtualbox.org/virtualbox/4.0.12/ Go to Devices > Optical drives > choose disk image.. choose the one downloaded in step 3 Inside host guest OS (Windows 10, in my case) I could see: This PC > CD Drive (D:) Virtual Guest Additions
For now, right click on it, select Properties, the Compatibility tab, and select Windows 8 compatibility there. Much easier than using the compatibility troubleshooting I did initially.
https://i.stack.imgur.com/YHHeB.gif
reboot the guest OS (Windows 10) Inside host guest OS, you could see the shared folder This PC> shared folder
It worked for me so I thought of sharing with everyone too.
At first I was stuck trying to figure out out to "insert" the Guest Additions CD image in Windows because I presumed it was a separate download that I would have to mount or somehow attach to the virtual CD drive. But just going through the Mac VirtualBox Devices menu and picking "Insert Guest Additions CD Image..." seemed to do the trick. Nothing to mount, nothing to "insert".
Elsewhere I found that the Guest Additions update was part of the update package, so I guess the new VB found the new GA CD automatically when Windows went looking. I wish I had known that to start.
Also, it appears that when I installed the Guest Additions on my Linked Base machine, it propagated to the other machines that were based on it. Sweet. Only one installation for multiple "machines".
I still haven't found that documented, but it appears to be the case (probably I'm not looking for the right explanation terms because I don't already know the explanation). How that works should probably be a different thread.
A Shared Folder requires Guest Additions but to get Guest Additions to work I had to use the following steps.
Enable Shared Folder Add permanent shared folder Settings > Shared Folder > New Folder Select host OS folder Give it a name without spaces Check auto mount and make permanent, if available Leave mount point blank ( Shared folder will be in This PC > Network Locations , after the guest additions have been added and the VM restarted.)
Add permanent shared folder Settings > Shared Folder > New Folder Select host OS folder Give it a name without spaces Check auto mount and make permanent, if available Leave mount point blank ( Shared folder will be in This PC > Network Locations , after the guest additions have been added and the VM restarted.)
Settings > Shared Folder > New Folder
Select host OS folder
Give it a name without spaces
Check auto mount and make permanent, if available
Leave mount point blank
( Shared folder will be in This PC > Network Locations , after the guest additions have been added and the VM restarted.)
Add guest additions Add optical drive VirtualBox > Settings > Storage On the IDE controller click the "Add new storage attachment" > Optical > Leave Empty (Do not select the VBoxGuestAdditions.iso image as the installers won't run as expected within the VM.) Start the Machine In the Devices Menu in the MacOS bar, select Insert Guest Additions CD Image... Follow prompts for install Restart machine
Add optical drive VirtualBox > Settings > Storage On the IDE controller click the "Add new storage attachment" > Optical > Leave Empty (Do not select the VBoxGuestAdditions.iso image as the installers won't run as expected within the VM.)
VirtualBox > Settings > Storage On the IDE controller click the "Add new storage attachment" > Optical > Leave Empty (Do not select the VBoxGuestAdditions.iso image as the installers won't run as expected within the VM.)
On the IDE controller click the "Add new storage attachment" > Optical > Leave Empty
(Do not select the VBoxGuestAdditions.iso image as the installers won't run as expected within the VM.)
Start the Machine In the Devices Menu in the MacOS bar, select Insert Guest Additions CD Image... Follow prompts for install
In the Devices Menu in the MacOS bar, select Insert Guest Additions CD Image...
Follow prompts for install
Restart machine
Success story sharing
Guest Additions CD Image
, you may have to click on the Network Drive in Windows Explorer before Windows prompts you to install theGuest Additions
.