File Sharing between virtual machines on the virtualbox host
There are many ways to share files between hosts and virtual machines. Theoretically, files can be shared between two computers through networks, USB disks, etc. Remember to compile the files in the Virtual Machine and copy the files to the host, it is always difficult to transmit data through ftp, but it is inconvenient to repeat the operation many times. If the two systems can share a folder, it is much more convenient like a single machine, virtualbox provides the file sharing function, making file sharing easier.
1. Install virtualbox enhancements:
Run the system on the virtual machine, and then select virtualbox-> install the enhancement function. (This enhancement function is very useful, so that the system resolution in the virtual machine can automatically adapt to the window, It is very convenient to switch the virtual machine, and there is no need to adjust the resolution of the Virtual Machine System as before, the system automatically changes the resolution after adjusting the size of the Virtual Machine window. It works well after enabling full screen)
2. Select allocate data space in virtualbox and select the folder to be shared in the host. (The author's host is fedora16 and the virtual machine is windowsXP)
3. Enter the Virtual Machine System (windowsXP), open the resource manager, find "ing network drive" on the menu bar, and select virtualbox to view the shared folder. Then map it to the local drive letter, such as the G disk.
In this way, the G disk maps to the shared folder of the host. In the Virtual Machine (windows), the operation on the G disk is equivalent to the operation on the shared folder of the host. Such file sharing is obviously much more convenient, you no longer need to use ftp to transfer the files to be shared.
Author huanghui167