Changes

Jump to: navigation, search

VirtualBox Shared Folders

13 bytes added, 15:53, 20 March 2009
Accessing a Shared Folder from a Linux Guest
On Windows guests, the shared folder should appear as a standard Windows network share listed under ''VirtualBox Shared Folders'', accessible from the ''Network'' option in the ''Start'' menu. If the shared folder is not visible within the Network window (as can sometime be the case), it may be mapped to a disk drive in a command prompt window by issuing the following command:
 
:<tt>net use <drive>: \\vboxsvr\<share name></tt>
 
where ''<drive>:'' represents the drive letter to be mapped to the shared folder and ''<share name>> is the name assigned to the shared folder during the creation process outlined above. For example, to map a shared folder named ''TempFiles'' to the S: drive on the guest operating system:
Shared Folders are accessed on Linux guests by mounting the folder at a suitable mount point using the ''mount'' command. This can either be an existing directory, or a new directory may be created specifically for this purpose. The syntax to perform the mount (which must be performed as super-user or using the ''sudo'' command) is as follows:
 :<tt>mount -t vboxsf [-o ''MOUNT OPTIONS''] ''ShareName MointPointMountPoint''</tt> 
where [-o ''MOUNT OPTIONS''] represents any optional directives to the mount command, ''ShareName'' is the name assigned to shared folder when it was created and ''MountPoint'' is the path to the directory on the guest where the shared folder is to be mounted. For example, to mount a shared folder named ''TempFiles'' using ''/tmp/mnt'' as the mount point:
1,798
edits

Navigation menu