VirtualBox to set up shared folders and mount them automatically

Source: Internet
Author: User
I wanted to build a shared folder in the mainframe and VirtualBox Ubuntu, and it was a very good night. The following steps are set: 1. Install VirtualBox vboxguestaddition.iso. Install enhancements in the device->. Install end remember reboot. Previously installed when resolving Ubuntu Full-screen display, skip here. 2. VirtualBox's "Device"-> "Allocate data space" to add fixed allocations, such as E:\linux-share, name Linux-share. 3. To the terminal command line: $CD/mnt $sudo mkdir win-share $sudo mount-t vboxsf. Get.. It's not done. Automatic mount not implemented. If you want to mount automatically, you can add an item at the end of the/etc/fstab file Sharing/mnt/share vboxsf defaults 0 0 or Sharing/mnt/share vboxsf rw,gid=100,uid=1 000,auto 0 0 Of course, this is not enough, remember just began to allocate data space that place, there is also an automatic mount option, is provided by Vxbox, but, if the option is checked, then this share of the lifetime will not boot automatically mount, even if it is set/etc/ Fstab file, to implement automatic mount, Vxbox's automatic mount option is not optional, and to configure/etc/fstab file, well, well, that's it.

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.