Virtualbox Ubuntu shared space under Mac

Source: Internet
Author: User

1. Install the enhancement feature
Open the Ubuntu virtual machine. I installed virtualbox 4.1 on a Mac.
In the "device" option column at the top, select "Install enhancement".
The system will automatically install
2. Set the shared data space
In the "allocate data space" under the "device" menu of the vbox running Ubuntu, add a new data space. Select the directory path and name it share. "share" is the name of the data space.
3. Load/unload shared data space

Create a mount point # mount a folder under Ubuntu
Sudo mkdir chmod-M 755/mnt/sharedpoint #/mnt/sharedpoint, create a folder SharePoint under the MNT directory as the Hanging Point;

Then run the following command:
Sudo Mount-T vboxsf share/mut/sharedpoint # The share here is the name of the data space before us,

Now, you can share data space through/mnt/sharedpoint.

Uninstall:
Sudo umount-F/munt/sharedpoint

4. automatic mounting
Add a line at the end of/etc/fstab
Share/mnt/sharedpoint vboxsf RW 0 0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.