Shared Folder not accessible in Mac image for me

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.

Shared Folder not accessible in Mac image for me

Postby invinceable » 21. May 2010, 03:44

Hi guys,
I've configured a shared folder in the VirtualBox settings for my Mac OS X image - pointing to a folder in my Windows 7 Host, but when I load the image and click on the shared-folder icon on the Mac desktop, it just says that the alias is invalid. I'm new to Macs, so am i doing something silly or not understanding something in particular? Or does the 'shared folders' feature of VirtualBox not apply to Guest Macs?

(Just to confirm, I'm able to load a Windows XP Guest which can successfully access that shared folder with no problems.. so its not a corrupt folder or anything like that)
invinceable
 
Posts: 4
Joined: 21. May 2010, 01:58
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows, Mac

Re: Shared Folder not accessible in Mac image for me

Postby baf » 21. May 2010, 04:51

Shared folders does not (yet) exist for mac guests. That will come when they have guest additions for mac.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
baf
Volunteer
 
Posts: 829
Joined: 27. Sep 2008, 06:18
Location: Luleå or Skellefteå, Sweden
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: linux,xp,win7

Re: Shared Folder not accessible in Mac image for me

Postby paulscode » 21. May 2010, 13:32

Actually, you can share host shared folders with the guest:

1) Share a folder from the actual host machine (from the OS, not through the vbox shared folders)
2) Use NAT for your guest's network settings
3) From Mac OS X, Open "Finder" (looks like a square face, usually on the bottom-left)
4) From the top menu, navigate to Go->Connect to Server
5) For "Server Address" enter smb://10.0.2.2
6) Click "Connect"
7) Enter your username and password (for the host machine)
8) Select the shared folder from the list

I just did this on my Mac Pro without any problems (Ubuntu Lucid 64-bit host, VirtualBox 3.2, Snow Leopard OS X 10.6 Server guest). I assume the same process would work for other hosts as well. If you are not using NAT for your guest network settings, you'll have to figure out the correct address to use instead of 10.0.2.2 (I haven't tried this yet).
paulscode
 
Posts: 25
Joined: 9. May 2010, 03:36
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Tiger, Leopard, Snow Leopard

Re: Shared Folder not accessible in Mac image for me

Postby desperado_bxl » 21. May 2010, 14:17

It works on Windows 7 32bit ! Thank you !
desperado_bxl
 
Posts: 4
Joined: 15. May 2010, 21:07
Location: Brussels
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: WinXP, Ubuntu, Snow OSX, Solaris

Re: Shared Folder not accessible in Mac image for me

Postby takwing » 22. May 2010, 09:27

Thanks for the info!

It works also on 64-bit Windows 7.
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
takwing
 
Posts: 72
Joined: 17. Jan 2010, 07:44
Location: Hong Kong
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10

Re: Shared Folder not accessible in Mac image for me

Postby OmegaX » 27. May 2010, 20:28

:idea: Just thought i'd let people know, you don't need to be using NAT for file sharing to work, but you will need to be connected to a network to use it if not using NAT.

If not using NAT: File sharing works exactly like you were using two separate machines on the same local network and you'd point your guest to your host's LAN ip, also this works in the other direction since the guest will have it's own LAN ip on your network and can share to your host as well as connect with any other computers on the network.
OmegaX
 
Posts: 24
Joined: 12. May 2010, 06:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: OS X Snow Leopard

Re: Shared Folder not accessible in Mac image for me

Postby devonuto » 10. Jan 2014, 11:52

Is there a way to make these persistent? If you connect to a share, then shut down the virtual machine, the shares are not there the next time you fire it up?
devonuto
 
Posts: 1
Joined: 10. Jan 2014, 11:51

Re: Shared Folder not accessible in Mac image for me

Postby socratis » 10. Jan 2014, 14:03

1) You replied to a 4 year old thread. Not a good idea ;)
2) This is not a VirtualBox issue, it is a Mac sharing issue.
3) You can create an alias to the network share on your desktop or the dock and have it readily available.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 23913
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Shared Folder not accessible in Mac image for me

Postby rpmurray » 10. Jan 2014, 17:37

devonuto wrote:Is there a way to make these persistent?

How do I have a network share mount in Mac OS X persist between reboots
rpmurray
Volunteer
 
Posts: 914
Joined: 3. Mar 2009, 00:29
Location: Between Heaven and Hell
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7, Mac OS X (various flavors)

Re: Shared Folder not accessible in Mac image for me

Postby mr108 » 8. Oct 2014, 16:10

Hi,

Since this thread has been 're-enlivened' I hope it's OK to continue.
I followed these steps but did not succeed to access any shared folders on my PC (Win 7, 64bit)

paulscode wrote:Actually, you can share host shared folders with the guest:

1) Share a folder from the actual host machine (from the OS, not through the vbox shared folders)
2) Use NAT for your guest's network settings
3) From Mac OS X, Open "Finder" (looks like a square face, usually on the bottom-left)
4) From the top menu, navigate to Go->Connect to Server
5) For "Server Address" enter smb://10.0.2.2
6) Click "Connect"
7) Enter your username and password (for the host machine)
8) Select the shared folder from the list


When I enter the password I get this:
2014-10-08_163146.png
2014-10-08_163146.png (18.02 KiB) Viewed 221606 times



then this message come up:
2014-10-08_163221.png
2014-10-08_163221.png (25.96 KiB) Viewed 221606 times



and then it goes back to this:
2014-10-08_163243.png
2014-10-08_163243.png (20.53 KiB) Viewed 221606 times



What am I doing wrong?
Thanks in advance for any guidance.
mr108
 
Posts: 1
Joined: 8. Oct 2014, 15:51

Re: Shared Folder not accessible in Mac image for me

Postby Calion » 25. Nov 2014, 01:15

There seems to be a much easier way.

  • Pick a folder on the Host machine that you wish to share. Get Info in the Finder. Click Shared Folder.
  • Ensure that Bridged Adapter is enabled in the Network tab in the VirtualBox Settings for your VM. This assumes you're on a LAN of some sort; I'm on an Airport network.
  • Launch the VM. In the sidebar of Finder windows should be your host computer name. Click on it.
  • Your previously chosen shared folder should be in the list. Double-click on it.
  • The shared folder should now be mounted as a network drive on the desktop. Go to Login Items under Accounts (or Users and Groups) in System Preferences, click the Plus button and choose the network drive.
  • That shared folder should now mount whenever you log in to your account on the OS X VM.

Well, maybe that's not so easy. It is at least another way.
The only problem with this approach is that I'm fairly sure that it goes over your network instead of being a direct connection, so speed could be an issue.
Calion
 
Posts: 7
Joined: 25. Nov 2014, 00:58

Re: Shared Folder not accessible in Mac image for me

Postby mpack » 25. Nov 2014, 12:12

mpack
Site Moderator
 
Posts: 29231
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to Mac OS X Guests

Who is online

Users browsing this forum: No registered users and 3 guests