Tag: vagrant

  • Vagrant error Failed to mount folders in Linux guest “vboxsf” file system is not available

    Error when ‘vagrant up’:

    Failed to mount folders in Linux guest. This is usually because
    the “vboxsf” file system is not available. Please verify that
    the guest additions are properly installed in the guest and
    can work properly. The command attempted was:

    mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3`
    SSH /SSH
    mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` SSH /SSH

    The error output from the last command was: /sbin/mount.vboxsf: mounting failed with the error: No such device

    Solution:

    vagrant plugin install vagrant-vbguest

    vagrant up

  • Vagrant locks each machine for access by only one process at a time

    When aborting vagrant up command, the ruby process in Windows may not be killed, causing other further vagrant command failed with the error ‘Vagrant locks each machine for access by only one process at a time’

    Solution: Open Task Manager, find all ‘ruby.exe’ under Process Tab and kill them.