Centos7 VM VirtualBox set shared directory times wrong.
Step One: Create a VM VirtualBox shared directory
1. Create a shared directory of VMs under window D:\workspace
2. Create a shared directory under Linux mkdir/mnt/workspace
3. Set up a shared directory on the VM operator interface
Step Two: Install the control
1. Perform Linux, install controls
Yum Groupinstall "GNOME Desktop" "Graphical administration Tools"
Ln-sf/lib/systemd/system/runlevel5.target/etc/systemd/system/default.target
2. Reboot the system, enter the interface of the CENTOS7 system, and then install the enhanced function on the VM's operating interface, press the prompt to click Run Install
Step Three: Mount the shared disk
Mount-t vboxsf Workspace/mnt/workspace
Ln-s/mnt/workspace/home/daiyu (soft connect to user Daiyu)
Step three error:/sbin/mount.vboxsf:mounting failed with the Error:no such device
Solution:
Yum Clean All
Yum Update
Yum Install kernel
Yum Install Kernel-devel
Yum Install Kernel-headers
Yum Install GCC
Yum Install make
Reboot
Cd/opt/vboxguestadditions-*/init
./vboxadd Setup
Reboot
perform step three again and succeed.
Original: http://blog.csdn.net/daiyudong2020/article/details/58073520
End;