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.