GhostBSD shares under Virtualbox 7.0.01

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
Ken E Unix
Posts: 29
Joined: Sat Jul 29, 2023 6:37 pm

GhostBSD shares under Virtualbox 7.0.01

Post 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.
User avatar
ericbsd
Developer
Posts: 2056
Joined: Mon Nov 19, 2012 7:54 pm

Re: GhostBSD shares under Virtualbox 7.0.01

Post 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.
Ken E Unix
Posts: 29
Joined: Sat Jul 29, 2023 6:37 pm

Re: GhostBSD shares under Virtualbox 7.0.10

Post 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
User avatar
ericbsd
Developer
Posts: 2056
Joined: Mon Nov 19, 2012 7:54 pm

Re: GhostBSD shares under Virtualbox 7.0.01

Post 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.
Post Reply