Shared Folder configuration in Vrtualbox virtual machine,

Source: Internet
Author: User

Shared Folder configuration in Vrtualbox virtual machine,

The Virtual Machine is installed with ubuntu 16.0.4 linux, and the local machine is macOs 10.12.1.

Configure Vrtualbox as follows:

In Vrtualbox --> Settings --> shared folder --> Add shared folder

Specify the path of the folder you want to share. This path refers to the path of the Local Machine. enter the name of the shared folder. You can use this name as needed. Here, share is used. Do not select auto mount here, do not select any option. If the virtual machine is installed with a windows system, select auto mount here.

Enter the virtual machine to start the ubuntu system, and create a folder path in the ubuntu system./etc/share

Open terminal Input

Sudo mount-t vboxsf share/etc/share

If prompted

Mount: unknown filesystem type 'vboxsf'

It indicates that you have not installed the enhanced plug-in of Vrtualbox. You can install this plug-in. Vrtualbox comes with this plug-in. If it enters the system, you will be prompted to install it.

You can now share folders. But you have to enter it again after restarting.

Sudo mount-t vboxsf share/etc/share

To enable automatic mounting after restart, add the following parameters to the/etc/fstab file:

Sudo vim/etc/fstab

Add

Share/etc/share vboxsf rw, gid = 110, uid = 1100, auto 0 0

After the restart, the shared folder still exists.

 

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.