You are not logged in.

#1 2018-05-07 09:05

chiguy1256
Member
Registered: 2018-02-10
Posts: 19

VirtualBox Shared Folders

I have Q4OS installed as a VirtualBox guest on a Windows 10 host.  I have added a shared folder to the Q4OS virtual machine.  How do I access this shared folder on Q4OS?  Thanks.

Offline

#2 2018-05-07 10:28

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: VirtualBox Shared Folders

You need to run in terminal:
$ sudo mkdir /mnt/vboxdir
$ sudo mount -t vboxsf shared_folder_name /mnt/vboxdir

If you want to mount it permanently, add the following line to the '/etc/fstab/ file:

shared_folder_name /mnt/vboxdir1 vboxsf defaults,noauto 0 0

Offline

#3 2018-05-07 11:37

chris_elvidge
Member
Registered: 2016-05-15
Posts: 17

Re: VirtualBox Shared Folders

First make sure "shared_folder" is permanent : auto-mount "yes", access "full".
Start virtual machine.
"shared_folder" should now be mounted under /media/sf_shared_folder, user root and group vboxsf.
Make sure YOU are a member of group vboxsf to obtain full access.

Offline

#4 2018-05-15 02:21

chiguy1256
Member
Registered: 2018-02-10
Posts: 19

Re: VirtualBox Shared Folders

Thank you Q4OS Team and chris_elvidge.  I will give it a try.  Wish me luck.  smile

Offline

#5 2018-06-09 00:31

chiguy1256
Member
Registered: 2018-02-10
Posts: 19

Re: VirtualBox Shared Folders

Okay, I am able to mount the Windows shared folder.  However, I did add to the /etc/fstab, but it won't mount permanently.  Here is a copy of my fstab. I am sure I probably made an error.  Please advise.  Thanks.


Attachments:
fstab, Size: 383 B, Downloads: 706

Offline

#6 2018-06-09 14:58

chris_elvidge
Member
Registered: 2016-05-15
Posts: 17

Re: VirtualBox Shared Folders

Is your shared folder really called "Windows_share"? Try without "noauto". Noauto stops automatic mount.

You really don't need an entry in fstab to make this work. "Windows_share" should mount automatically at "/media/sf_Windows_share"

Offline

#7 2018-06-15 01:02

chiguy1256
Member
Registered: 2018-02-10
Posts: 19

Re: VirtualBox Shared Folders

Never mind.  It seems to be working fine now.  Thank you.

Offline

Board footer

Powered by FluxBB