vagrant up failing to upgrade guest vbox version

17 views
Skip to first unread message

Donald Raikes

unread,
Mar 1, 2020, 5:34:57 PM3/1/20
to vagra...@googlegroups.com
Hello,

I just upgraded both virtualbox and vagrant on my windows 10 system.

Virtualbox is not version 6.1.4
vagrant is 2.2.7

when I use vagrant up on an oraclelinux 7 box, it says the host
edition isand guest vbox editions are mismatched, and it is unable to
mount the shared folders.

This used to work on my older configuration so is it just something to
do with the newer vagrant or virtual box?

the error message I am getting is:
Mounting shared folders...
ol7-vagrant: /vagrant => V:/7

Vagrant was unable to mount VirtualBox shared folders. This
is usually because
the filesystem "vboxsf" is not available. This filesystem is
made available via the
VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are
properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a
faulty Vagrant box.
For context, the command attempted was:


mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant


The error output from the
command was:


/sbin/mount.vboxsf: mounting failed with the error: No such device

Any help would be greatly appreciated.

Thanks,
Donald

Alvaro Miranda Aguilera

unread,
Mar 2, 2020, 6:19:19 PM3/2/20
to vagra...@googlegroups.com
hello

seems the box you are using is not having virualbox guest additions installed.

you could try to install them and see if works, or build your own box ready to use.


--
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAPamLv9FNJp2vGf_trMW_8OGKbd37cp7qTDe-m9T1OkYJpOHpQ%40mail.gmail.com.


--
Alvaro

Donald Raikes

unread,
Mar 3, 2020, 11:01:10 AM3/3/20
to vagra...@googlegroups.com
Thanks for the suggestions, but because I am using a lot of the
vagrant boxes from Oracle's repository, I need to stick with their
default boxes.

I can try to do the install manually, but I am not certain howwhat
packages to install or uninstall :)
> https://groups.google.com/d/msgid/vagrant-up/CAHqq0exoUa_oExBb0fuO7wUmmXVFmz399zK%2B2Dc_3XU6A8AASQ%40mail.gmail.com.
>

Alvaro Miranda Aguilera

unread,
Mar 5, 2020, 8:59:32 AM3/5/20
to vagra...@googlegroups.com
you can try the vbguest plugin

vagrant plugin install vagrant-vbguest

then vagrant reload 
or vagrant up




--
Alvaro

Reply all
Reply to author
Forward
0 new messages