System platform: win8.1, virtualbox4.3.8, ubuntu12.04
1, install Vboxguestadditions_4.3.8.iso Enhancement tool, after installation, restart Ubuntu According to the prompts, the specific operation is as follows:
A, the vboxguestadditions_4.3.8.iso image to Ubuntu, stored in the Ubuntu/media directory, the operation is as follows:
B. Install the VirtualBox enhancement package
[Email protected]:~$ cd ~[email protected]:~$ su-password: [email protected]:~# cd/media/[email protected]:/media# lssf_share< C0/>vboxadditions_4.3.8_92456[email protected]:/media# CD Vboxadditions_4.3.8_92456/[email protected]:/media/ vboxadditions_4.3.8_92456# ls32bit cert vboxsolarisadditions.pkg64bit OS2 Vboxwindowsadditions-amd64.exeautorun.inf runasroot.sh VBoxWindowsAdditions.exeautorun.sh Vboxlinuxadditions.run
2, first off Ubuntu, in the VirtualBox "settings" Find "Shared Folder", click to enter, click on the right to add a directory button, add Windows to share the directory, take a name. For example, I built a folder called share in D, such as:
3, restart Ubuntu, in the top of the Ubuntu system "device" find "shared Folder", click to enter, click on the right to add a directory button, add a second operation of the shared directory, such as:
4. Mount Shared Folders
Enter virtual Ubuntu and enter it at the command line terminal:
sudo mkdir/mnt/shared
sudo mount-t vboxsf share/mnt/shared
Where "Share" is the name of the shared folder that was previously created. OK, now Ubuntu and host can transfer files.
If you want to mount it automatically, you can add an item to the/etc/fstab
share/mnt/shared vboxsf Rw,gid=100,uid=1000,auto 0 0
5, uninstall the words use the following command:
sudo umount-f/mnt/shared
Attention:
The name of the shared folder must not be the same as the name of the mount point. For example, the above mount point is/mnt/shared, if the name of the shared folder is shared, the following error message will appear when the mount is loaded:/sbin/mount.vboxsf:mounting failed with the error: Protocol Error
VirtualBox in Ubuntu and Windows shared folder settings