Page 1 of 1

GhostBSD shares under Virtualbox 7.0.01

Posted: Sat Jul 29, 2023 6:44 pm
by Ken E Unix
Hi.

I am running GhostBSD 13.2 under Virtualbox 7.0.10 on Ubuntu 22.04.

Is there a way to "share" a folder between Virtualbox and GhostBSD?

I have some aps in a folder on Ubuntu 22.04. I am able to do this
with other OS's.

Thanks.

Re: GhostBSD shares under Virtualbox 7.0.01

Posted: Wed Aug 02, 2023 7:36 am
by ericbsd
This should work for you https://forums.freebsd.org/threads/new- ... ost-390939.

You could probably create a folder in /media/ and mount it to the created folder here.

Re: GhostBSD shares under Virtualbox 7.0.10

Posted: Wed Aug 02, 2023 9:00 am
by Ken E Unix
It works. I broke it down to:

On the virtualbox host add a shared folder:
path to directory to share
mount point share-name (same as below)
automount Y
full access Y

Adding a share in GhostBSD 23.06.01 do once:
sudo edit /etc/rc.conf and add:
vboxguest_enable="YES"
vboxservice_enable="YES"
sudo edit /boot/loader.conf and add:
vboxvfs_load="YES"
then sudo make /mnt/share-name
reboot

then when needed:
mount -t vboxvfs share-name /mnt/share-name
then when done: umount share-name

Re: GhostBSD shares under Virtualbox 7.0.01

Posted: Sat Aug 05, 2023 11:28 am
by ericbsd
I you want it to show in the Desktop directory, you can create /media/share-name and mount it in /media/share-name.