centos7 VM VirtualBox setting Shared directory error.
Step 1: create the VM VirtualBox Shared directory
1. Create VM’s Shared directory under window D:\workspace
2. Create a Shared directory under Linux mkdir/MNT /workspace
3. Set the Shared directory
on the VM operation interface
Step 2: install the control
1. For Linux, install controls
yum groupinstall “GNOME Desktop” “Graphical Administration Tools”
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
2. Restart the system, enter the interface centos7 system, then install the enhanced functions on the operation interface of VM, and click run to install
Step 3: mount the Shared disk
mount -t vboxsf workspace /mnt/workspace
ln-s/MNT /workspace /home/daiyu (soft connection to user daiyu)
step 3: /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
0
CD /opt/ vboxadd
./vboxadd setup
reboot
perform step 3 again and succeed.
the original source: http://blog.csdn.net/daiyudong2020/article/details/58073520 p>
End;
Read More:
- /sbin/mount.vboxsf: mounting failed with the error: Protocol error
- vagrant up reports an error mounting failed with the error: No such device mounting directory failed
- SUSE mount NFS prompt mount.nfs no such device
- Failed to mount / cache (no such device)
- ls: cannot access /usr/sbin/smartctl: No such file or directory /usr/sbin/smartctl not found
- Linux mounting errors (Error mounting /dev/sda8 at /media)
- Tensorflow 2.1.0 error resolution: failed call to cuinit: CUDA_ ERROR_ NO_ DEVICE: no CUDA-capable device is detected
- Ubuntu cannot access USB device, failed to create a proxy device for the USB device
- NFS mount error: mount.nfs mount system call failed
- device no response, device descriptor read/64, error -71
- Mount error (22): invalid argument refer to the mount.cifs (8) manual page (
- Resolved failed call to cuinit: CUDA_ ERROR_ NO_ DEVICE
- Error:Connection activation Failed: no suitable device found for this connection solution
- QInotifyFileSystemWatcherEngine::addPaths: inotify_add_Watch failed: there is no space on the device
- SSD [failed] failed to mount / sysRoot solution
- Mount windows NTFS partition under Linux
- Failed to add /run/systemd/ask-password to directory watch: No space left on device?
- Failed to mount /sysroot
- Failed to dlsym make_device: undefined symbol: make_device
- When ifconfig configures the network, “siocsifaddr: no such device” and “eth0: error while getting interface” appear flags:No such dev”