VirtualBox Virtual Ubuntu 8.10, when the use of shared folders

December 2nd, 2008 (1,671 views)

My environment: the host operating system is Windows Server 2008, the virtual machine operating system is Ubuntu 8.10, the virtual machine is VirtualBox 2.0.4.

1. Installing Enhanced Feature Pack (Guest Additions)
Ubuntu 8.10 is installed, run Ubuntu and log on. VirtualBox's menu and then select "Device (Devices)" -> "Install Enhanced Feature Pack (Install Guest Additions)". Shown:
virtualbox-guest-addtions

You will find the Ubuntu desktop more than a CD-ROM icon, and this CD is automatically loaded into the default folder / media/cdrom0. Into the command-line terminal, type:
cd / media/cdrom0
sudo. / VboxLinuxAdditions.run

To begin the installation kit. After installation will be prompted to restart Ubuntu.

2. Set up a shared folder <br /> restart is complete click on "devices (Devices)" -> shared folder (Shared Folders) menu, add a shared folder, options Make Permanent means that the folder whether it is long-lasting . Share names can either take one you like, such as "flamingo", try to use the English name.

3. Mount the shared folder <br /> re-enter the virtual Ubuntu, the command line terminal, enter:
sudo mkdir / mnt / shared
sudo mount-t vboxsf flamingo / mnt / shared

In which "flamingo" was created before the name of the shared folder. OK, now Ubuntu and the host can pass each file.

If you do not want to manually mount each time, you can / etc / fstab to add a
flamingo / mnt / shared vboxsf rw, gid = 100, uid = 1000, auto 0 0

This will automatically mount the.

Note:
The name of the shared folder do not, and mount point with the same name. For example, the above mount point is / mnt / shared, if the shared folder's name is also shared, then the mount when the following error message will appear (see http://www.virtualbox.org/ticket/2265 ):
/ sbin / mount.vboxsf: mounting failed with the error: Protocol error

Cause analysis, we can see "Tips on running Sun Virtualbox" of the Shared Folder on a Linux Guest Day.

Uninstall, then use the following command:
sudo umount-f / mnt / shared

Related Posts

Leave a Reply

Security Code: