How to implement data sharing between Ubuntu and Windows XP in a virtual machine (VirtualBox)

Source: Internet
Author: User

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)

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.