![]() If it is then congratulations! You successfully linked the directory within your vm with your host folder. Go to your home directory and check to see if the file is highlighted in green.Add the following line to /etc/modules and save.Add the following line to fstab (separated by tabs) and press Ctrl+O to Save.Look at the bottom of the VBox settings window for Shared Folders and select it. To make this permanent, we'll set it so that it will mount our ~/shared directory on system startup In the main VirtualBox window, right-click on the VM, and select Settings. This directory mount we just made is temporary and it will disappear on next reboot. Windows Firewall - under Filesharing TCP ports 139 and 445 are open. The host folder should now be accessible inside the VM.Mount the shared folder from the host to your ~/shared directory sudo mount -t vboxsf shared ~/sharedįor set custom group and user id owner sudo mount -t vboxsf -o uid=1000,gid=1000 shared ~/shared Run installation script for the guest additions: sudo /media/cdrom/nĬreate "shared" directory in your home mkdir ~/shared ![]() Sudo apt-get install build-essential linux-headers-`uname -r` Install dependencies for VirtualBox guest additions: sudo apt-get update Use the following command to mount the CD: sudo mount /dev/cdrom /media/cdrom ![]() Once your VM is up and running, go to Devices menu -> Insert Guest Additions CD image menu ![]() Uncheck Read-only and Auto-mount, and check Make Permanent On Add Share prompt, select the Folder Path in your host that you want to be accessible inside your VM. This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. In the guest you can then use the share name to connect to it and access files. ![]() Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS To share a host folder with a virtual machine in Oracle VM VirtualBox, you must specify the path of the folder and choose a share name that the guest can use to access the shared folder. ![]()
0 Comments
Leave a Reply. |