Enable data space: allow the Ubuntu10.10 and XP hosts in the VirtualBox Virtual Machine to communicate with each other

Source: Internet
Author: User
After installing Ubuntu10.10 in virtualbox, if you want to upload files in xp to ubuntu or upload files in ubuntu (such as ubuntu wallpaper) to xp, what should you do, in fact, it can be easily implemented through the data space function of virtualbox. 1. Make sure that the virtualbox enhancement feature has been installed in Ubuntu10.10 under the Virtual Machine. refer to the previous article "ubuntu 1 in VirtualBox Virtual Machine Under XP ".

After installing Ubuntu 10.10 In virtualbox, if you want to upload files in xp to ubuntu or upload files in ubuntu (such as ubuntu wallpaper) to xp, what should you do, in fact, it can be easily implemented through the data space function of virtualbox.

1. make sure that the virtualbox enhancement feature has been installed in Ubuntu 10.10 under the Virtual Machine. refer to the previous article "Install the enhancement feature for Ubuntu 10.10 In the VirtualBox Virtual Machine Under XP" to learn how to install it;

2. Click "Data Space" under "configuration details" or right-click the data space icon in the lower right corner of the VM window and select "allocate data space", as shown in,

Open the "Data Space" window, such,

Add a Data Space named "shared" as shown in the following figure (the data space name is random. Here we use shared as an example). The directory in windwows is F: \ shared.

3. to access the shared data space in Ubuntu 10.10, [LINUX community www.LinuxIDC.com]:. create a directory hanging in the data space. If you know something about ubuntu, you should be familiar with the Mount directory! For shared data space, the Mount directory created in ubuntu is/media/shared and the command is sudo mkdir/media/shared. B. mount the data space with the command mount-t vboxsf shared/media/shared. In this way, the directory F: \ shared in windows XP is synchronized with/media/shared in Ubuntu 10.10. By accessing these two folders, you can connect files on Ubuntu 10.10 and XP hosts in the virtualbox virtual machine.

4. automation. The above method is one-time. After ubuntu is restarted, you must mount the data space for the next time. This is a disaster for patients with "command line Phobia. Fortunately, we have a one-time solution. Run the sudo gedit/etc/fstab command to open the fstab file and add a line at the end of the file: shared/media/shared vboxsf defaults 0 0, which enables automatic mounting of the data space at startup. You may wish to add/media/shared as the nautilus bookmarks to facilitate data space access in the future.

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.