System platform: Win7, virtualbox4.3.12, ubuntu12.04
1. Installation Enhancement function
1.1 Device-Install Add function
1.2-click Run (enter the established account password to authorize)
1.3 into the terminal input command:
Ca/media
Ls
CD vboxadditions_4.3.12_93733
Ls
sudo./vboxlinuxadditions.run #安装virtualbox增强包
2. Implementing the Shared Files feature
2.1 New folder under Windows
Create a shared folder under the E drive.
2.2 Settings-"Data space-" Fixed allocation, select the shared folder path, note that at this time do not check the automatic mount, as shown in.
2.3 Mounting Shared Folders
Enter virtual Ubuntu and enter it at the command line terminal:
sudo mkdir/mnt/shared #创建一个文件夹
sudo mount-t vboxsf shared/mnt/shared
"Shared" is the name of the shared folder you created earlier. OK, now Ubuntu and host can transfer files.
If you want to mount it automatically, you can add an item to the/etc/fstab
shared/mnt/shared vboxsf Rw,gid=100,uid=1000,auto 0 0
5, uninstall the words use the following command:
sudo umount-f/mnt/shared
Note:
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