Opened 6 years ago
#17967 new defect
Shared Folders from Linux Guest VM not accessible
Reported by: | PeterE | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 5.2.18 |
Keywords: | Shared Folders vboxguest mount | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
After an update from Arch Linux 4.15.12-1 to 4.18.3 the use of shared folders in a Linux Guest VM is broken. The VirtualBox drivers were updated from 5.2.8 to 5.2.18.
During the build of my Arch Linux I performed the following steps: I created a file /etc/modules-load.d/virtualbox.conf with three lines:
vboxguest vboxsf vboxvideo
Then I entered:
pacman -S virtualbox-guest-modules-arch pacman -S virtualbox-guest-utils systemctl enable vboxservice.service reboot
My Arch Linux systems were running without problems for more than a year. I had several updates in between. After the last update I can’t access the files on the Windows host via shared folders. Every time I boot I get the following error message in front of the login prompt: vboxsf: Old binary mount data not supported, remove obsolete mount.vboxsf and/or update your VBoxService.
My mount as a user in .bashrc doesn’t work:
sudo mount -t vboxsf D_DRIVE /home/peter/d
I have tried a lot to find a solution. I have renamed or removed the following files:
/usr/lib/virtualbox/mount.vboxsf /usr/bin/mount.vboxsf /etc/modules-load.d/virtualbox.conf
Then I have built a completely new Arch Linux VM system with Kernel 4.18.5. I know that since kernel 4.16 the modules vboxguest and vboxvideo are integrated into the kernel. I don’t get the error message, but I can not mount as root:
mount -cit vboxsf D_DRIVE d
I have tried to blacklist the vboxguest module and install the drivers like above. Then I get the error message.
I think there is a bug in the vboxguest modules.