Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

mounting a shared folder I have on mac (HOST) machine using WSL in a virtualbox Windows (guest)

$
0
0

My host machine is a Mac (and I have a folder on the Mac I want to share) with my Windows Virtual Box using WSL

Windows sees the folder no problem. If I type net use at the command line I see the folder:

C:\Users\claudio>net useNew connections will be remembered.Status       Local     Remote                    Network-------------------------------------------------------------------------------             Y:        \\VBoxSvr\claudio         VirtualBox Shared FoldersThe command completed successfully.

If I go to the WSL shell and type: net.exe use I can also see the folder.

C:\Users\claudio>net useNew connections will be remembered.Status       Local     Remote                    Network-------------------------------------------------------------------------------             Y:        \\VBoxSvr\claudio         VirtualBox Shared FoldersThe command completed successfully.

However, from WSL I cannot browse to the folder location as I would usually do on a Linux system: cd /mnt/y the only drive I see is c.

Doing:

sudo mkdir -p /mnt/ysudo mount -t drvfs '\\VboxSrv\claudio' /mnt/y

as someone suggested doesn't work.

I now see the drive y but not the specific folder (I suspect this is because the file system of the folder is a Mac one)


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>