Virtual Box: Mac OS and Linux file sharing

in #steem5 years ago

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

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 62900.77
ETH 2949.76
USDT 1.00
SBD 3.59