Shared Folder for vmware ubuntu on Windows 7 host

Source: Internet
Author: User

How can I transfer files on virtual machines and Windows 7 (taking Windows 7 as an example, WINXP is the same. There are many methods. Today, we will introduce one of the methods to achieve file transmission between Ubuntu and win7 through the shared folder of VMware.

 

Step 1: Start Ubuntu 12.04 (operations in other versions of ubuntu are similar)

1. On the vmwarevm interface, click VM-> install VMware Tools...

Then, the windows of VMware Tools will pop up in Ubuntu. (for other versions of ubuntu, you can see the CD of VMware Tools on the desktop.

Symbol)

2. Open the terminal and enter the following command:

A) sudo CP/Media/vmware \ tools/VMwareTools-xxx.tar.gz/tmp (Note: XXX is the version number)

B) CD/tmp

B) sudo tar zxf VMwareTools-xxx.tar.gz (Note: XXX is the version number)

C) cd/vmware-tools-distrib

D) sudo./vmware-install.pl

Enter yes, no, or enter as prompted until the installation is complete.

3. view the result:

Lsmod | grep vmblock

 

Step 2: Set the directory of the shared folder

1. Shut down Ubuntu; otherwise, shared folders cannot be added.

2. In the vmwarevm window, choose VM> Settings> Options> Shared Folders.

3. Click Add on the right, click Next-> select the Win7 shared directory path, and click Next-> select Enable this share-> Finish

4. On the right side of the VM-> Settings-> Options-> Shared Folders window, select Always enabled in the Folder sharing column.

5. Click OK to exit

 

Step 3: Install the plug-in under the Ubuntu Virtual Machine

1. Execute sudo apt-get install open-vm-dkms (Note: If you have installed sudo apt-get install, you do not need to execute this line later)

2. Run sudo mount-t vmhgfs. host: // mnt/hgfs

3. cd/mnt/hgfs

 

Now you can see the shared folder directory of Win7 under the/mnt/hgfs directory.

Related Article

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.