Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
The shared folder in VirtualBox is finally successful-Linux Enterprise Application-Linux server application information. The following is a detailed description. Author: bdwangfs
If you need to use files in the host from the VirtualBox client, you can achieve this through sharing folders. Taking my actual situation as an example (the VirtualBox host is Linux and the client is Windows XP), let's talk about the setup process.
1. Execute the following commands on the VirtualBox host (that is, in the Linux system:
VM name in this command specifies the name of the VM to use the shared folder, such as WinXP; sharename is the name of the shared folder, which can be set at will, such as sharedfolder; \ test. The following is an example of this command:
2. Start the VM (Windows XP in this example), click "run" in the Start Menu, Enter cmd, and then execute the following command:
Net use x: \ vboxsvr \ sharename
X in this command: The mapped drive letter; sharename is the name of the shared folder set in the previous step. Similarly, we provide an instance for reference:
Net use Z: \ vboxsvr \ downloads
After the command is successfully executed, you can use all the files in the shared folder through the resource manager.
Note the following When configuring Shared Folders:
First, the virtual machine cannot be enabled or suspended during configuration;
The second is to install the VirtualBox Guest Additions program for the client; the third is that shared folders can only be used for Windows 2000/XP and Linux 2.4/2.6 clients.
In addition, if your VirtualBox host is Windows and the client is Linux, you can configure it according to this method. The difference is that you can replace the second step with mount.
The sharing of VirtualBox has plagued me for a few days. Can't I share it? Do I have to use the NET command? However, this command does not work. However, I accidentally discovered the secret of sharing, and mapped out the joy of sharing success!
1. First, make sure that you have set up sharing when the virtual machine is not enabled.
2. Ensure that vbox tools are installed and TOOLS are loaded in the drive of the virtual machine. If not, reinstall TOOLS. [This is the key]
3. If there are no errors in the above two steps, you can find the shared folder in the ing network drive.
I have finally shared this virtual machine successfully, and I wish my friends who have used this virtual machine a success.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.