Environment:
Host is a Windows XP system
The versions of the virtual machine and Ubuntu are:
Virtualbox-3.2.12-68302-win
Ubuntu-10.10-desktop-i386
Prerequisite: Enhanced features for VirtualBox installed
The installation process can refer to the following articles:
How Ubuntu in VirtualBox realizes fullscreen
Steps:
1. Setting up Shared Folders
VirtualBox Add data space from the menu bar, click "Devices--
Here are the main settings for two things:
(1) Path to shared folder
(2) The name of the data space, such as "MyShare", is very important, and the name will be used to mount the shared space in Linux below.
It is also best to hook up the fixed allocation, which saves you time to reset the data space every time.
2. Mount Shared Folders
Open the Ubuntu command line
To create a new mount point directory First:
sudo mkdir/home/yang/sharespace
Then mount the shared folder in XP that you just set to Ubuntu
Mount-t vboxsf Myshare/home/yang/sharespace
If you want to mount the operation every time you start,
The following command can be added to the/etc/fstab
Myshare/home/yang/sharespace vboxsf Defaults 0 0
--------------------------------------------
This is described in the VirtualBox Help document for mounting commands:
In a Linux guest, use the following command:
Mount-t vboxsf [-o OPTIONS] sharename mountpoint
To mount a shared folder during boot, add the following entry To/etc/fstab:
ShareName Mountpoint vboxsf defaults 0 0
How to implement data sharing between Ubuntu and Windows XP in a virtual machine (VirtualBox)