![]() ![]() This can happen if you have not downloaded the matching VirtualBox Extension Pack after you updated VirtualBox (v5.2.18 and up should download it automatically during Virtualbox updates). If the link /sbin/mount.vboxsf does not exists in the first place, than the VBoxGuestAdditions couldn't be installed. This line fixes that: $ sudo ln -sf /opt/VBoxGuestAdditions-*/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsfĪnd check if it works for you: $ vagrant reloadīut i can't fix the link because /sbin/mount.vboxsf does not exist inside my box! When you look inside /opt/VBoxGuestAdditions-5.1.20/ you see that the subfolder "other" doesn't exists. ![]() Lrwxrwxrwx 1 root root 49 Apr 19 14:05 /sbin/mount.vboxsf -> /opt/VBoxGuestAdditions-5.1.20/other/mount.vboxsf In my case a symlink inside the VM was wrong. How can I get folder mounting working with Virtualbox 5.1.20 and Vagrant 1.9.3? Downgrading back to 5.1.18 does resolve it, but this isn't ideal moving forward. I have tried manually installing vagrant-vbguest plugin (via vagrant plugin install vagrant-vbguest), but that fixed nothing. In some cases useful info is found in syslog - try dmesg | tail or so. Missing codepage or helper program, or other error The error output from the command was: mount: wrong fs type, bad option, bad superblock on keys, For context, the command attempted was: mount -t vboxsf -o uid=1000,gid=1000 keys /keys ![]() This is not a bug in Vagrant and is usually caused by a faulty Vagrant box. Please verify that these guest additions are properly installed in the guest. This filesystem is made available via the VirtualBox Guest Additions and kernel module. This is usually because the filesystem "vboxsf" is not available. Vagrant was unable to mount VirtualBox shared folders. The same folder mounting works fine in Virtualbox 5.1.18. I installed the latest version of Virtualbox and tried to start my VM. Previous working setup: Virtualbox 5.1.18 with Vagrant 1.9.3 Current setup: Virtualbox 5.1.20 with Vagrant 1.9.3 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |