VirtualBox-5.0.16 setting up Shared folders for Windows and Ubuntu

Source: Internet
Author: User

Operating environment: Win7, VirtualBox-5.0.16, ubuntukylin-14.04.2-desktop-amd64

1, first download installation Vboxguestadditions_5.0.17-106140.iso (to the official website https://www.virtualbox.org/download)

The installation steps are as follows:

1.1, VirtualBox Modify the settings

1.2. Start Ubuntu and install Vboxguestadditions.

Open the command operator and enter the following command:

// switch to root user  /media  // Enter the shared home directory where you can see the Vboxadditions folder  // Entry directory under this directory (or subdirectory)  sudo. // to install

As follows:

2. Close Ubuntu system, find "shared folder" in VirtualBox "Settings", click Enter, click the Add Directory button on the right, add the directory that you want to share in Windows, take a name. For example, I built a folder called share in the F-disk, such as:

Here you need to correct:

If the "Auto mount" check box is not required to perform the 3rd step, the system will automatically create the corresponding mapping directory under the/media directory:

3. Mount Shared Folders

Start Ubuntu, open a command window, and run the following command:

If you want to mount it automatically, you can add an item to the/etc/fstab

share/mnt/shared vboxsf Rw,gid=100,uid=1000,auto 0 0

4. Uninstalling Shared Folders

Umount-f/mnt/shared

Note: the name of the shared folder must not be the same as the name of the mount point. For example, the above mount point is/mnt/shared, if the name of the shared folder is shared, the following error message will appear when the mount is loaded:/sbin/mount.vboxsf:mounting failed with the error: Protocol error.

This article is written in reference to http://www.cnblogs.com/linjiqin/p/3615477.html, thank you very much for this children's shoes illustrated article.

VirtualBox-5.0.16 setting up Shared folders for Windows and Ubuntu

Related Article

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.