How to mount a windows shared folder in linux

Source: Internet
Author: User
In the initial use phase of linux, VMWare or other linux virtual machines are used in Windows. Transferring files between Windows and linux is a problem. This method introduces how to mount a Windows shared folder in linux.

This tutorial is based on win7, VMware9.0.1, and centos6.4.

1. install VMware Tools first (if you have already installed it, you do not need to install it)

(1) Mount VMware Tools

Click VM in the menu bar of the VM, and select settings from the drop-down menu. The following figure is displayed, which is selected in order.

Choose vmware tools in step 1 Browse. five iso files can be found under the VMware Workstation of your installation file. Select the corresponding iso for the system installed in the virtual machine. In this method, select linux. iso. If you are installing a Lite or green version, if you do not have the five iso files, you need to download, download the general address: http://softwareupdate.vmware.com/cds/vmw-desktop/ws (representing the workstation version)/7.1.2 (version) /301548 (version)/windows (or linux) (host operating system type)/packages/tools-windows-8.4.4.exe.tar (installation package name ). You can enter http://softwareupdate.vmware.com/cds/vmw-desktop/ws/in the browser to find a tool that matches your needs. View the version you have installed on the VM's Help-> About VMware Workstation-> Porduct Information. Then, load the downloaded tool in step 1.

After step 3 is completed, a VMware Tools CD will appear on the desktop. then you can double-click the CD on the desktop) or find the installation file you need under/media/VMware Tools.

(2) copy, decompress, and install the installation file.

Copy the files in the desktop CD (mouse operation) or files in cp/media/VMware Tools to any place (copy this article to the desktop), as long as you can find them during installation. Decompress the package and install the package. For more information, see

Install only cd directly into vmware-tools-distrib/execute the wmware-install.pl, in the middle of the select yes or no option to directly enter, the installation takes some time. The INSTALL file in this directory contains detailed installation and uninstall methods.

VMware Tools has been installed.

2. shared folder settings

(1) set shared folders in Windows

Right-click the folder you want to share, and select a user from the shortcut menu.

(2) linux sharing settings

VM-> settings in the VM menu bar. Choose Options> Shared Folders> Always enabled> Add> OK.

3. complete the settings

Then execute the following command. The data folder is the shared folder.

All settings have been completed.

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.