Mac VirtualBox shared folder with Linux virtual machine

Source: Internet
Author: User
Tags virtualbox shared folder

1. Set up the shared directory in VirtualBox, set up automatic mount/fixed assignment

2. Install the enhanced tool, in order to avoid installation errors need to install dependent files

#更新内核.
Yum Update kernel
#需要安装相应的kernel-devel and GCC packages, GCC is also a must
Yum Install kernel-devel gcc

Restart the system after upgrade

3. Click Settings--click Install enhancements ...

And then into the inside of the virtual machine

Mount/dev/cdrom/home/vbox mount an enhanced package for iOS files

Tip Mount:block Device/dev/sr0 is write-protected, mounting read-only instructions are mounted on the

Cd/home/vbox

Sh./vboxlinuxadditions.run

Mount-t vboxsf osshare/home/tb/winshare/
Osshare is the name you set on the shared folder, followed by the directory where CentOS needs to be mounted.

You can see the shared files when you enter/home/tb/winshare/.

Mac VirtualBox shared folder with Linux virtual machine

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.