
That's it! You have just mounted in Ubuntu the systems folder hosted on your local machine. You should see your systems directory listed: You can also check the file systems that have been mounted on your virtual machine using the "disk filesystem" command.This time the user and group owner of this directory should match your Ubuntu username: Check again the ownership and access rights for your systems directory.Sudo mount -t vboxsf MacSystems ~/systems -o uid=$USER -o gid=$USER Unmount the systems directory and then mount it again, but this time specify the user and the group owner of the directory to be yourself:.We have a problem: notice that the user and group owner of the systems directory is the root, and users to not have write permissions to this directory. This sequence of commands is shown below:Ĭheck the ownership and access rights for your systems directory: Sudo mount -t vboxsf MacSystems ~/systems to mount this directory, substituting the folder name (in red) with the one you picked. If you already have a folder with this name, rename it oldsystems and then create a new, empty directory named systems. Fire up a terminal and create an empty folder named systems in your home directory. I will call it MacSystems.Īlso check the "Auto-mount" option if you want the shared folder to mount automatically upon each boot. In the window that opens, click on the arrow at the right of the Folder Path entry to browse for the folder you want to share.įor Folder Name, enter a name to describe this folder (it could be anything, just make sure to remember it). To the right of the Name/Path entry, you should see a folder icon with the + sign superimposed.

Make sure Ubuntu is powered off.Ĭlick on "Setting", then "Shared Folders".


To mount this folder in Ubuntu, follow these steps: This will be the directory shared between your local machine and Ubuntu, and will include the work you will be doing in this class. In your home directory on your local machine (my home directory on my Mac is /Users/mdamiani), or in another location of your choice (just make sure to remember it), create another directory called systems. This part requires Guest Additions to be installed in Ubuntu, so make sure you have completed Part 3 before starting Part 4. Part 4 - Share folders from the host OS to Ubuntu in VirtualBox
