For the use of virtual machine installation to complete the operating system, we often use the virtual machine and physical machine directly to file transfer problem, for this problem, the cows feel a lot of methods, but also very simple. Here to do a brief introduction, but also hope to have other methods of friends also message exchange. Today, we mainly discuss some unique or unique methods of VirtualBox.
1.VirtualBox Assigning data space capabilities
After installing the VirtualBox virtual machine, the first thing we should do is to install the extension tool, you can refer to the Cow Article VirtualBox virtual machine installation Windows System configuration Remote Desktop Tutorial. After installing the extension tool, we can easily use the VirtualBox to allocate the data space function. To view the settings of a virtual machine, we can see a data space option at the bottom, click Add to add a space with a disk or directory as its default root, and we can set its auto mount with read-only properties. Once the setting is complete, you can see the shared disk or directory once you restart your computer. This is the simplest sharing feature without any tools.
2.VirtualBox Creating a Virtual disk link to a physical hard disk
The method is to directly link our hard disk or hard disk partition to a VMDK, and then add this link as a disk from the virtual machine's settings. Building methods
Under Linux:
Vboxmanage internalcommands createrawvmdk-filename ~/nenew.vmdk-rawdisk/dev/sda-partitions 1
Under Windows:
Vboxmanage internalcommands createrawvmdk-filename D:\\nenew.vmdk-rawdisk \\.\physicaldrive0
Specifically, you can see Vboxmanage vboxmanage internalcommands createrawvmdk this command? Where's the order? Windows is in the installation directory in your Programes folder, and Linux runs directly.
3.ISO Mirroring method
Make an ISO image of the file you want to share, and then let the virtual machine mount it directly, and add it to the add image in the settings.
4.U Disk Mount method
Similar to the ISO approach, virtual machines can be used to mount a physical USB device as a function of the implementation.
4.FTP method
Create an FTP server, and then communicate directly. The concrete establishment method everybody can check, Windows can use Serv-u or FileZilla and so on server solution, Ubuntu and so on Linux with pure-ftp and so on some FTP scheme to complete, the specific process cow is not detailed. However, for servers, FTP is not a secure way to transmit, so it is not recommended to use in places where there is too much sensitive information.
5.SSH method
SSH is powerful, including file transfer. We can do this with the PSFTP function in the Putty tool. Windows directly downloads Putty's complete program, Linux Direct installation putty can be used. PSFTP's command is also very simple, the operation is similar to FTP, of course, there are graphical programs, Tunnelier (Bitvise). Methods are very simple, we self-test under.
6.samba sharing
This method is not very convenient for Windows systems that can be shared with the system, and then the Linux system accesses the share with Samba, the samba configuration is not easy, and there are some configuration problems with the shared functionality of Windows.
7.SCP Command File Transfer
For linux-linux communication, use the SCP command to complete.
8. Flying Pigeon biography and other gadgets
Some of the local area network File transfer gadgets are also very useful, such as the Flying Pigeon Book under Windows, Ubuntu and other Linux Iptux, are very useful gadgets.
9. Network Utilization function
This method is the most broad, the applicability of the most extensive, such as you can use email yourself to send a message with attachments, upload files to the network and then download, you open two QQ each other, upload to your web space and then download, er, although this method seems very nonsense, it is not. Method thousands, as long as one can achieve the purpose is good, is better than not reach the goal.
OK, the cow's summary is written here, friends have any good way to the downstairs parade bar ~ ~ ~ ~ ~ ~ Welcome to form a battle. Inquiry method of children's shoes province of Kazakhstan, Google or Baidu under specific methods, cows only provide a viable solution. The concrete practice still relies on the individual OH.
VirtualBox virtual machine and physical Machine file transfer summary of nine methods