[Solved] Shared folder not working on CentOS and RHEL guests (#17221)
Posted: 31. Oct 2017, 07:46
I have an issue on RHEL and Centos but reboots of neither of the guests or the Windows host help.
Basically I am trying to mount a shared folder on Centos & RHEL guests:
Please note the the virtual guest addition is installed on all boxes and on Centos/RHEL by running: VBoxLinuxAdditions.run. This is evident by the fact that the mount command recognizes the vboxsf file system type. Prior to installation I tested the command and the error was different. Then the error was about FS type being invalid.
Host is a Windows 7 Machine and Virtual box is 5.1.16. Centos is:
I thought about seLinux stuff but if so the error does not seem to indicate any issues.
I think it is the way the name of the shared folder is interpreted by Guest Addition packages.
Somehow, Oracle Solaris and Linux interpret it right but the other boxes mix it up.
Version: VirtualBox 5.1.16 Problem on: Centos & RHEL 7 guests Host type: Windows Works well on: Solaris 11 and Oracle Linux 7 guests.
Basically I am trying to mount a shared folder on Centos & RHEL guests:
# mount -t vboxsf sharedfolder /hostfiles/ /sbin/mount.vboxsf: mounting failed with the error: No such device
Please note the the virtual guest addition is installed on all boxes and on Centos/RHEL by running: VBoxLinuxAdditions.run. This is evident by the fact that the mount command recognizes the vboxsf file system type. Prior to installation I tested the command and the error was different. Then the error was about FS type being invalid.
Host is a Windows 7 Machine and Virtual box is 5.1.16. Centos is:
# uname -a Linux centos 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/system-release CentOS Linux release 7.4.1708 (Core)
I thought about seLinux stuff but if so the error does not seem to indicate any issues.
I think it is the way the name of the shared folder is interpreted by Guest Addition packages.
Somehow, Oracle Solaris and Linux interpret it right but the other boxes mix it up.