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