Set the shared folder of virtualbox

Source: Internet
Author: User

operating environment:
1) Host: windows XP
2) virtual OS for vbox: fedora-dvd-12
3) virtualbox version: 3.0.12
4) "Guest additions" already installed

Steps:
1. Set a directory on the host as the shared directory. (For example, "E: \ Download \ vboxshare \").
2. Disable the fedora operating system, select the system to be set, and select "Settings"> "shared folder"> "Add a new shared folder ". Set "shared folder" to the created shared directory. "Shared Folder name" is the name mapped to the fedora system. It is assumed to be "sharename ".
3. Run:

# Mkdir/mnt/Export dir(Create a mount point)
# Mount-T vboxsf [-O options]Sharename/Mnt/Export dir
(Ing shared directory)

Appendix: Enable virtualbox to automatically load shared folders upon startup
If you want to automatically load the shared directory by starting guest next time, adding the Mount record in "/etc/fstab" will not work. You need"/Etc/rc. Local"Write the corresponding script:
/Sbin/mount. vboxsfSharename/Mnt/Export dir

PS: the reason why fstab cannot be loaded may be that the vboxsf type is not recognizable at startup.

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.