Virtualbox shared folder mount from fstab fails; works once bootup is complete

I ran afoul of this problem too. I mount /var/www using VBox shared folders functionality, so this was quite annoying.

The solution I found was to force the vboxsf module to be loaded early, before the mounting of file systems. Just add vboxsf on a line of its own in /etc/modules.

Another solution is to set noauto in /etc/fstab and manually mount drives in /etc/rc.local, but this wasn’t such a good solution for me because by that time Apache has already started and been unable to find anything in /var/www.

https://askubuntu.com/questions/365346/virtualbox-shared-folder-mount-from-fstab-fails-works-once-bootup-is-complete

Virtualbox shared folder mount from fstab fails; works once bootup is complete was last modified: January 16th, 2020 by Jovan Stosic

Leave a Reply