My Ubuntu is Ubuntu9.04, and sunvitualbox1. install the enhanced feature package (VBoxGuestAdditions) to open the virtual machine, set Ubuntu9.04, and find the optical drive option to load VBoxGuestAdditions. Iso. (This image is under the installation directory of the Virtual Machine). Run ubuntu. A VBoxGuestAdditions image will be available under the optical drive, open the image, run autorun. sh, and the system will
I'm Ubuntu 9.04, sun vitualbox
1. Install the enhanced feature package (VBoxGuestAdditions)
Open the VM, set Ubuntu 9.04, and find the optical drive option to load VBoxGuestAdditions. Iso. (This image is under the installation directory of the virtual machine), OK
Run ubuntu. There will be a VBoxGuestAdditions image under the optical drive. Open the image and run autorun. sh. The system will automatically install the image. After the installation is complete, you will be prompted to restart Ubuntu.
2. Set Shared Folders
There are two ways to set the Shared Folder: 1. Set it before running Ubuntu, enable the setting option-data space, and load the folder option on the right to load a shared folder, such as D: \ games, OK
2. Load When Ubuntu is running. Select a folder in the lower right corner of the Ubuntu interface and right-click it to load
3. Mount Shared Folders
Re-enter the virtual Ubuntu and enter the following in the command line terminal:
Sudo mkdir/mnt/share
Sudo mount-t vboxsf games/mnt/shared
"Games" is the name of the previously created shared folder. OK. Now Ubuntu and the host can upload files to each other.
If you do not want to manually mount each time, you can add
Games/mnt/share vboxsf rw, gid = 100, uid = 1000, auto 0 0
This enables automatic mounting.
4. Run the following command to uninstall the SDK:
Sudo umount-f/mnt/share
Note:
The name of the shared folder must not be the same as that of the mount point. For example, the mount point above is/mnt/shared, if the name of the shared folder is also shared, the following error message will appear when mounting (see http://www.virtualbox.org/ticket/2265 ):
/Sbin/mount. vboxsf: mounting failed with the error: Protocol error