Mutual file transfer between Linux and Windows (VMWare), linuxvmware

Source: Internet
Author: User

Mutual file transfer between Linux and Windows (VMWare), linuxvmware

There are many ways to transfer files between a virtual machine without a Desktop Linux and a Windows host. Now we will first talk about a way to share folders. Other methods will be added later.

1. Background

1) Virtual Machine System: VMWare has no Desktop Linux

2) Physical Machine System: Win 7

3) Shared Folder: D: \ Virtual Machines \ shared_vm3 of the Physical Machine

Requirements: mutual transfer of Linux and Windows files

Note: To share linux and windows files through shared folders, you must install VMWare-tools, the installation of this tool can refer to the http://www.cnblogs.com/ddbear/p/6857199.html

 

2. Operation

1) Windows: create a shared folder D: \ Virtual Machines \ shared_vm3

2) Virtual Machine linux: add shared folders

Choose Virtual Machine VM_3 --> right-click --> set

Select option --> shared folder --> always enable --> Add

Click next after the setup wizard appears.

Browse the windows folder. Select D: \ Virtual Machines \ shared_vm3 --> next.

Note: The name corresponds to the folder name displayed in Linux.

Enable this sharing by default. Click Finish.

Click OK

Note: You need to check the value in the red box. By default, the value is checked.

3) Virtual Machine linux: Start Virtual Machine VM_3

Choose VM_3 --> start this VM

4) Virtual Machine linux: Mount Shared Folders

# Cd/mnt

# Mkdir hgfs

Note: To share linux and windows files through shared folders, you must install VMWare-tools, the installation of this tool can refer to the http://www.cnblogs.com/ddbear/p/6857199.html

After installing VMWare-tools, run the following command:

#/Usr/bin/vmware-config-tools.pl

Then press enter until installation is complete.

  

The installation is complete.

5) Virtual Machine linux: restart the Virtual Machine

# Reboot

6) Inspection and testing

# Cd/mnt/hgfs

# Ls

Test

# Cd shared_vm3

# Vim shared_test.txt

123456

Abcdsf

Save and exit: wq

# Ls

  

Check whether the file is in windows.

Successful

 

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.