Wanglin Luo avatar

Virtual Box: Mac OS and Linux file sharing

luowanglin

Published: 11 Mar 2019 › Updated: 11 Mar 2019Virtual Box: Mac OS and Linux file sharing

Virtual Box: Mac OS and Linux file sharing

Install VBoxGuestAdditions

  1. In the virtual system window, select "Device" -> "Install Enhancements" as shown below:
    1511846-48651ffc09fa0c41.png

Annotation: When adding, if you report an error, please try to restart the virtual system (Linux OS)

  1. Enter the Linux system terminal and mount VBOXADDITIONS_xx_xx.iso to the specified location /media/cdrom, as follows:

    Sudo mount /dev/cdrom /media/cdrom

If you do not specify the mount point /media/cdrom error, then execute mkdir /media/cdrom to create the folder.
Then start the run command:

Sudo /media/cdrom/VBoxLinuxAdditions.run

Second, set up a shared folder. Go to VirtualBox "Settings" -> "Shared Folder" as shown below:
1511846-e515ca3fd7764aea.png

Third, mount the shared file, the following command:

Sudo mount -t vboxsf ShareFile (shared file name) /mnt/shared

Congratulation! You can see the shared folder under at the /mnt/shared

Leave Virtual Box: Mac OS and Linux file sharing to:

Written by

Mobile Application Developer

Read more #steem posts


Best Posts From Wanglin Luo

We have not curated any of luowanglin's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Wanglin Luo