Use vmware's shared folders function to implement Windows and virtual machine Linux operation

  

Use vmware (vmware workstation 5) shared folders function to achieve file transfer between host and ghost in vmware, without any network related settings, without using any network protocol ,host and ghost can be linux and windowsoperating system
, here only the host is windows, ghost is the setting under linux, if the ghost is windows, please refer to the vmware help setting up shared folders.

1. Install vmtools for linux: Select VM >install VMware tools... in the vmware workstation program menu to start linux in guest computer
, execute: mkdir /mnt/cdrommount /dev /cdrom /mnt/cdrom (vmtools installation files are placed in the vmware virtual cdrom, you must first mount this CD-ROM drive to find the installation file) cd /mnt/cdromtar -zxvf VMwareTools-5.0.0-12124.i386.tar.gz -C /tmp (decompress the installation files to /tmp) cd /tmp/vmware-tools-distrib./vmware-install.pl (execute the vwware installation script, this script is written in perl) Here, the installer will Ask a series of questions such as where to install the file and set the resolution. In most cases, installing the default configuration vmware tools will work fine. Therefore, press the Enter key for each question to select the default configuration. After installation, vmware will add a vmhgfs module to the kernel, you can use lsmod to view

2. Set the host computer shared directory: switch to the windows desktop in the ghost computer, select VM> in the vmware workstation program menu ;Settings>Options>Shared Folders >Properties Click on the “add” button at the bottom right of the dialog box, click “Next” Enter the name of the shared directory in the text box "name" Ghost computer's linux system will display the same directory name), assuming fc4_iso; in the "host folder", fill in the host computer windows system wants to share the directory, assuming F: linux-cdRedHatFedora_Core_4stentz-dvd- I386, then click to complete the next dialog is to choose the way to share: Enable this share means that the share is valid for a long time, the directory can be read and written; Read-only means that the share is valid for a long time, the directory is read-only; Disable after this session mode It means that the share will be invalid after the next ghost computer is shut down or suspended. Under normal circumstances, select Enable this share and then click "Complete". Since then, the shared folder is set.

3.shared folder directory use to switch to the ghost computer linux system, execute: cd /mnt/hgfsls See the directory of fc3_iso, and you can use cp and other instructions to achieve windows to linux, linux to windows read and write operations

Copyright © Windows knowledge All Rights Reserved