My host operating system is Windows 10 and Ubuntu is installed using Oracle’s Virtual Box.

Because of my work, I often have to copy some data between the two systems. Here are the steps to make Windows 10 and Ubuntu share the same folder on a VIRTUAL machine.

1. First you had to install a VirtualBox extension called VBox Guest Additions in Ubuntu. Refer to my article on how to install Virtual Box’s VBox Guest Additions extension ** for detailed steps. **

2. Suppose I want to share the temp folder in the host operating system with Ubuntu in the VM. In the Virtual Box VM Settings, define the temp folder as a shared folder. Once you’ve defined it, the Tooltip that pops up in the Virtual Box actually indicates what to do next.

3. Log in to the Ubuntu OS on the VM and run the CLI

Sudo mount -t vboxsf temp/MNT /share Mount Windows 10 shared folder Temp to/MNT /share. After that, Ubuntu can access the Temp folder in the host operating system Windows 10 by accessing the/MNT /share folder.

Similarly, after creating a file in Ubuntu/MNT /share, Windows10’s temp folder will immediately appear in the newly created folder, which is very convenient.

For more of Jerry’s original technical articles, please follow the public account “Wang Zixi” or scan the following QR code: