Or with the equivalent fstab entry like this: Projects /home/fboender/Projects/ vboxsf defaults,uid=1000,gid=1000 0 0 If you want to access shared folder in Ubuntu guest (running Ubuntu as virtual machine), here is how you can do so. In VirtualBox, select the Ubuntu VM and go to Settings -> Shared Folders. Select the local folder that you want to share with the Linux VM. Mount -t vboxsf sf_Projects -o uid=1000,gid=1000 /home/fboender/Projects/ Mount -t vboxsf Projects -o uid=1000,gid=1000 /home/fboender/Projects/ Some combinations I tried: mount -t vboxsf /media/sf_Projects -o uid=1000,gid=1000 /home/fboender/Projects/ This fails on an Ubuntu 20.04 guest with the following error: /sbin/mount.vboxsf: mounting failed with the error: No such device or address Open the file manager and navigate to the /media folder. It turns out that somehow, things got case-(in?)sensitive, and you need to specify the lower-case version of the Shared Folder name: mount -t vboxsf projects -o uid=1000,gid=1000 /home/fboender/Projects/ The share folder was mounted at /media/sfshare in my Ubuntu guest. Hope this saves someone somewhere some headaches, cause I couldn’t find anything about it on the Googles.
0 Comments
Leave a Reply. |