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.