VirtualBox to set shared folder

Source: Internet
Author: User

VirtualBox also has the functionality of shared folder similar to VMware. Allows files to be shared between hosts and virtual machines.

Talk less. Start.

Environment:

Host: Windows XP

Virtual machine: Ubuntu 10.10

First step: Install the Vboxguestadditions tool. This is similar to VMware Tool. But much easier to install. The Vboxguestadditions.iso in the VirtualBox installed directory is added to the VirtualBox virtual CD drive. Mount the optical drive. After obtaining root permission, run sh./vboxlinuxaddtions.run install. It will be all installed in a minute. Reboot!

Step two: Find the shared folders setting in the VirtualBox menu. Add or modify a folder on a local host as a shared folder. Note the folder name item will be used when the virtual machine mounts the directory. Note the option to remove the auto-mount. Otherwise, the virtual machine that is started will mount automatically. (Mostly I don't know where the mount is ...)

Step three: Enter Mount-t vboxsf [Folder Name]/mnt/share in the shell (last is the directory you want to mount, you can modify it yourself). You can see the shared content in it.

Incurable diseases: I have encountered/sbin/mount.vboxsf:mounting failed with the Error:invalid argument error. The problem should be a duplicate mount of the same shared Folder. The solution is to remove the Auto-mount first, and then check if you have just been manually mount.

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.