Virtualbox virtual
UbuntuHow to Use the shared data space
16:13:14 | category:
Linux application | font size subscription
This article is transferred from: http://cntemplar.blog.sohu.com/149732855.htmlvirtualboxvirtual
UbuntuHow to Use the shared data space test environment: Host-Windows7_Ultimate_6.1 (build 7600) (32bit); VirtualBox-virsion_3.0.12r54655; guest-
Ubuntu_ 9.10 _ 2.6.31 _ 14 (32bit ).
1. Install the enhancement feature
Running
UbuntuSelect "device"-"Install enhancement" from the virtualbox menu, and then execute the command: CD/Media/cdrom0
Sudo./VboxLinuxAditions-x86.run
Sudo reboot 0
2. Set the shared data spaceRunning
UbuntuSelect "device"-"
Allocate Data Space", Add a new data space, select the location of the shared folder under the host system, and set the data space name.
3. Load/unload shared data spaceAn example: [Mount] sudo mkdir chmod-M 755/mnt/sharedpoint # The Mount name of the shared space cannot be the same as that of the Data Space !!! # If your data space is named sharedpoint, mkdir sharedpoint cannot be used here! Sudo Mount-T vboxsf sharedfolderubt/mnt/sharedpoint # Here, the name of my shared space is sharedfolderubt, you can use/mnt/sharedpoint to access the shared data space [umount] sudo umount-F/mnt/sharedpoint
4. automatic mountingThe method described above needs to be manually mounted after the virtual machine is started each time. If you want to automatically mount the shared data space after each virtual machine is started, you can add the last row in/etc/fstab.
Sharedfolderubt/mnt/sharedpoint vboxsf RW 0 0
Summary:
If the host is windows and the guest is Linux, configure it as described in this article.
The host is Linux, and the guest is the same as the Linux configuration.
The host is windows, and the guest is windows.
If the host is Linux and the guest is Windows, you can select the shared data space allocated by the host by ing the network drive.