Sharing Folder Mac OS like Host and Guest

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
joseluisbz
Posts: 57
Joined: 26. Jan 2017, 19:18
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, macOS, CentOS

Sharing Folder Mac OS like Host and Guest

Post by joseluisbz »

I was trying to sharing folder using the network. But I found the Hard Disk of my Host, was visible on /Volumes of my Guest.


On Guest MacOS Sierra 10.12.3

Code: Select all

$ ls -al /Volumes/
total 40
drwxr-xr-x@  4 root        wheel    136 Jan 30 21:23 .
drwxr-xr-x  30 root        wheel   1088 Jan 30 20:31 ..
lrwxr-xr-x   1 root        wheel      1 Jan 30 19:29 HDD -> /
drwx------   1 joseluisbz  staff  16384 Jan 26 23:30 Macintosh HD
$ 
On Host MacOS Sierra 10.12.3

Code: Select all

$ ls -al /Volumes/
total 8
drwxr-xr-x@  4 root        wheel   136 Jan 30 11:22 .
drwxr-xr-x  31 root        wheel  1122 Jan 26 23:30 ..
drwxrwxr-x  19 josebernal  staff   714 Jan 26 23:00 ADATAHD
lrwxr-xr-x   1 root        wheel     1 Jan 30 11:22 Macintosh HD -> /
$
To put local...

Code: Select all

$ cd /
$ sudo mkdir media
$ sudo ln -s /Volumes/Macintosh\ HD/Users/josebernal /media/josebernal
$ sudo ln -s /Volumes/Macintosh\ HD/Users/josebernal/Google\ Drive/ /media/GoogleDrive
$ sudo ln -s /Volumes/Macintosh\ HD/Volumes/ADATAHD/Downloads /media/Downloads
My Question is: Is always true this procedure? or only works for this case?
I can't see the ADATAHD on my Guest directly.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Sharing Folder Mac OS like Host and Guest

Post by socratis »

What's the VirtualBox related question? VirtualBox does not have anything to do with this. You may have better luck if you search in a Mac-related forum.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
joseluisbz
Posts: 57
Joined: 26. Jan 2017, 19:18
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, macOS, CentOS

Re: Sharing Folder Mac OS like Host and Guest

Post by joseluisbz »

Hmm, Because I'm using VirtualBox to install Guest MacOS on Host MacOS.

As You can see, I don't using Network else directly Hard Disks...
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Sharing Folder Mac OS like Host and Guest

Post by socratis »

Just because you're using VirtualBox, does not make it a VirtualBox problem. What would you do if you had two Macs side-by-side? Because that's exactly what you have.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply