Virtualbox Virtual Machine Ubuntu shared folder setting automatic mounting

Source: Internet
Author: User


Virtualbox Virtual Machine Ubuntu shared folder settings automatic mounting 1. Install the enhanced feature package (Guest Additions) after Ubuntu 11.04 is installed, run Ubuntu and log on. Select "device (D)"-> "Install enhancement feature (I)..." in the VirtualBox menu )...". Www.2cto.com you will find an extra disc icon on the Ubuntu Desktop, this disc is automatically loaded to the file folder/media/VBoxGuestAdditions-4.1.4 to enter the command line terminal, enter: cd/media/VBoxGuestAdditions-4.1.4sudo. /VboxLinuxAdditions. different run versions may have different paths. Install the Toolkit as needed and restart Ubuntu.
2. after the Shared folder is restarted, click "Devices"-> Shared folder (Shared Folders) to add a Shared folder. The fixed and temporary options indicate whether the folder is persistent. Share a name that you like, such as "gongxiang". Try to use an English name. 3. mount the shared file folder and enter the virtual Ubuntu. On the command line terminal, enter: sudo mkdir/mnt/shared www.2cto.com sudo mount-t vboxsf gongxiang/mnt/shared where "gongxiang" is the name of the previously created shared file folder. OK. Now Ubuntu and the host can upload documents to each other. If you do not want to manually mount each time, you can add a gongxiang/mnt/shared vboxsf rw, gid = username, uid = username in/etc/fstab, vboxsf with auto 0 and above is the group name username. Your username is the folder name/mnt/shared under/home/, which is the Mount directory so that automatic mounting is possible. 4. Run the following command to uninstall the file: sudo umount-f/mnt/shared. Note: The name of the shared folder must not be the same as that of the mount point. Author vsooda

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.