How can I allocate data space to the Ubuntu system after installing ubuntu with the SunVirtualbox Virtual Machine? The method is as follows: Step 1 (prerequisite): Install the enhancement function. Click here for the tutorial. After the enhancement function is installed, the shared space is set. In the Vbox menu, choose "device"> "allocate data space"> "add data space" to set the location and name of the Data Space (note: if you want to share the folder for a long time or temporarily, enter the name of the shared folder in English .) The shared folder named "vv15" is used as an example.
How can I allocate data space to the Ubuntu system after installing ubuntu with the Sun Virtualbox Virtual Machine? The method is as follows:
Step 1 (prerequisite): Install the enhancement feature. For more information, see here.
After the enhancement function is installed, the shared space is set. In the Vbox menu, select:
Device-allocate data space-add data space
Set the location and name of the Data Space (Note: If you want to share the data for a long time or temporarily, you must enter the name of the shared folder in English .)
The shared folder named "vv15" is used as an example to demonstrate how to mount a shared space (in Ubuntu)
Mount Shared Folders
Re-enter the virtual Ubuntu and enter the following in the command line terminal:
Sudo mkdir/mnt/shared
Sudo mount-t vboxsf vv15/mnt/shared
"Vv15" indicates 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
Vv15/mnt/shared vboxsf rw, gid = 100, uid = 1000, auto 0 0
This enables automatic mounting.
To uninstall the SDK, run the following command:
Sudo umount-f/mnt/shared
Note:
The name of the shared folder must not be the same as that of the mount point. For example, the above mount point is/mnt/shared. If the shared folder name is also shared, the following error message will appear during mounting:
/Sbin/mount. vboxsf: mounting failed with the error: Protocol error
For the cause analysis, refer to the Shared Folder on a Linux Guest section of Tips on running Sun Virtualbox.