Hello Kiran

Its easier if you work with machines that have the correct vbox additions.

Give a try to hashicorp/precise64 or have look in atlas for plenty of VMs.

The plugin will fix/install the guest additions, after that you should
do a "vagrant reload" to have a clean start.

Alvaro.

On Sun, Nov 8, 2015 at 4:17 AM, kiran sharma <[email protected]> wrote:
> I was able to use various features of vagrant to provision a virtualbox but
> I was unable to add Vbox GuestAdditions. It fails with the following error.
>
> what I did?
>
> I downloaded plugins necessary for guestaddition --vagrant plugin install
> vagrant-vbguest
>
> Based on what I read, we do not need to put anything on vagrantfile for
> installing Vbox GuestAdditions it does automatically. So I used same
> vagrantfile.
>
> Fom the log I can see, it tries to install Vbox GuestAdditions but it failed
>
>
>
> 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
> [i][b]can work properly. The command attempted was:
>
> mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d:
> -f3`
> vagrant /vagrant
> mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant
>
> The error output from the last command was:
>
> /sbin/mount.vboxsf: mounting failed with the error: No such device
>
>
>
> I also found some suggestion on the net e.g
> sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions
> /usr/lib/VBoxGuestAdditions
>
> but this did not fix my issue. Appreciate any suggestion.
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/ab2def1c-5be4-4f61-8697-291ab86ec3ee%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewfPDW5P-DDabBDhB7GM-1v%2B7RsoE1QM-FfiJ1qew8qAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to