VirtualBox in Ubuntu and Windows shared folder settings

Source: Internet
Author: User

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

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.