Giter Site home page Giter Site logo

Comments (13)

geerlingguy avatar geerlingguy commented on May 31, 2024 1

@cdmo - Hmm... Just wondering - do you have the vagrant-vbguest plugin installed? Also, could you possibly try with Vagrant 1.9.4 as well?

I know CentOS 7 has had the most annoying issues with Vagrant lately :/

from packer-centos-7.

cdmo avatar cdmo commented on May 31, 2024 1

just fyi, I installed vagrant-vbguest and it didn't work.

from packer-centos-7.

cdmo avatar cdmo commented on May 31, 2024 1

Success! I upgraded to the very latest VirtualBox (5.1.22) and the shared folders mounted. For the record:

Vagrant 1.9.4
vagrant-vbguest 0.14.1

So... close this I guess?

from packer-centos-7.

cdmo avatar cdmo commented on May 31, 2024

I'll give it a shot and report back.

This is the error message output btw:

==> ulvm: Mounting shared folders...
    ulvm: /vagrant => /Users/cdm32/projects/drupalvm
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:

mount: wrong fs type, bad option, bad superblock on vagrant,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

from packer-centos-7.

karlkedrovsky avatar karlkedrovsky commented on May 31, 2024

Not sure if this will be helpful but I'm getting this same error by running:

vagrant init geerlingguy/ubuntu1604
vagrant up

I'm using VirtualBox 1.5.22 and Vagrant 1.9.4 and 1.8.7.

from packer-centos-7.

karlkedrovsky avatar karlkedrovsky commented on May 31, 2024

Figures, as soon as I post that last comment I figured out what the problem was - I didn't have the vagrant-vbguest plugin installed. Running the following fixed it for me.

vagrant plugin install vagrant-vbguest

from packer-centos-7.

geerlingguy avatar geerlingguy commented on May 31, 2024

@karlkedrovsky - D'oh, VirtualBox releases are getting to be too frequent—I just updated the built in guest additions to 5.1.20 a week or so ago. But yes, usually the vagrant-vbguest plugin will fix that.

from packer-centos-7.

wapacro avatar wapacro commented on May 31, 2024

@geerlingguy do you plan to release the box version 1.2.2 anytime soon? Because installing the plugin didn't fix the problem for me. The plugin always rolls back to guest additions version 5.1.20 instead of 5.1.22.

from packer-centos-7.

mohsenSy avatar mohsenSy commented on May 31, 2024

Hi I had the same issue today virtualbox version 5.1.22, vagrant version 1.9.1 and box version 1.2.1

 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:

mount: wrong fs type, bad option, bad superblock on vagrant,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so

from packer-centos-7.

geerlingguy avatar geerlingguy commented on May 31, 2024

@wapacro - I've been having trouble in local testing with 1.2.2, which is why it hasn't been released yet. It seems something is messing up native shares with my build. I'll try building again.

Note that you might be able to work around it with vagrant plugin install vagrant-vbguest.

from packer-centos-7.

cdmo avatar cdmo commented on May 31, 2024

Sorry for the reply string here, but I Tried with Vagrant 1.9.4 as well and got the same result.

from packer-centos-7.

geerlingguy avatar geerlingguy commented on May 31, 2024

@cdmo - Sounds good, glad you got it working! I'll close this, and just leave this final note for anyone else coming here in the future: trying to stick with a winning version combination for Vagrant + VirtualBox + CentOS boxes is very difficult... this isn't the first time being off by a version or two has caused grief!

from packer-centos-7.

cdmo avatar cdmo commented on May 31, 2024

Thanks! Yah tell me about it, this isn't the time it's caused grief for me! Would be nice to have a way to lock the box version in the config.yml file on drupalVM. I'm guessing this wouldn't be too difficult actually? Regardless yes this is closed.

from packer-centos-7.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.