VirtualBox folder sharing and bidirectional copying between host and virtual machines (Windows<->windows, windows<->linux) ____linux

Source: Internet
Author: User
Note how to implement folder sharing and bidirectional copying between host and virtual machines under VirtualBox
about bidirectional copies
1. Set the virtual machine to "two-way" shared paste

Some people respond as long as the two-way paste can be set, but I do not, I also need to give the virtual machine to install the enhanced functionality. You need to start the virtual machine and install the last item in the "Devices" menu item.

After installing the enhancements, be aware Restart the virtual machine, bidirectional copies are enabled.

About folder sharing
Situation One:
Host operating system: Windows 7
Guest operating system: Windows Server
1. Set up shared folders first

2. In the menu item in the virtual machine, device-allocate the optical drive-Select a virtual disc. In the dialog box that pops up select the VirtualBox installation directory to select Vboxguestadditions.iso 3. Optical drive in the virtual machine, Run VBoxWindowsAdditions.exe, after the installation is complete, restart the system in the virtual machine, you can see the shared directory in the host.
----------------------------------------------------------------------------------
Situation Two:
Host operating system: Windows 7
Guest operating system: Oracle Linux

The same as the case. Set up a shared directory first.
Then, in the menu above the Linux virtual machine, the device-> install enhancements.

Vboxadditions appears, and then run this software


You can see the shared folder.

Hang in this directory to the Linux local directory.
First create a folder
Mkdir/home/share
Change to readable to write
Cd/home/share
chmod 777.

Run command load
sudo mount-t vboxsf-o uid=1000,gid=1000 share/home/share
Red Share is the name of the VirtualBox shared directory

The blue/home/share is the target directory that you just created.


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.