Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

vagrant: vbguest command not available #19

Closed
mmodler opened this issue Jul 16, 2012 · 9 comments
Closed

vagrant: vbguest command not available #19

mmodler opened this issue Jul 16, 2012 · 9 comments
Labels

Comments

@mmodler
Copy link

mmodler commented Jul 16, 2012

I try to use vagrant-vbguest because it will hopefully solve some of my guest additions out of date issues :)

I use vagrant 1.0.3 on a windows host (installed from .msi) so plugin autoloading should still work. I installed vagrant-vbguest from my git-bash with "vagrant gem install", "vagrant gem list" shows that the plugin (0.3.3) is installed. And i have the plugin files in ~/.vagrant.d\gems\gems\vagrant-vbguest-0.3.3

When i try "vagrant help" on my git-bash, no vbguest is there. I'm not certain if this is a vagrant-vbguest issue or a general vagrant plugin issue. I'll post here first ;)

Regards from Grimma (Germany)

@fnordfish
Copy link
Member

Thanks for reaching out.
While I think, this is a general vagrant problem, here is what I've figured as a temporary work around:

Running C:\vagrant\vagrant\embedded\bin\gem.bat install vagrant-vbguest will install directly into vagrant's own gem-path and not into the user's .vagrant.d/gems.

I've opened an issue here: hashicorp/vagrant#1030

@mmodler
Copy link
Author

mmodler commented Jul 17, 2012

Hi Robert,

thanks for your quick reply and for verifying und solving the issue! I just tested the workaround and it works fine.

One quick additional question: I destroyed and re-up-ed my box and the plugin downloaded the guest additions iso and some other packages. Is this necessary, e.g. for "make"? And where to place the iso on Win 7?

@mmodler
Copy link
Author

mmodler commented Jul 18, 2012

Another question: (sorry for misusing this issue ticket)

If i do a fresh vagrant up vm creation, the plugin downloads needed iso and kernel, make, tolls and so on and then installs them. But without one reboot, will the new kernel and guest additions be active?

@fnordfish
Copy link
Member

Hi,

at the moment, vbguest brings a generic linux installer and one for debian/ubuntu.
The debian/ubuntu installer will install dkms (Dynamic Kernel Module Support) and the linux-headers package according to the currently running kernel. dkms will allow the virtual-box-additions' kernel module to be loaded on-the-fly and thus should be working right away. The kernel headers, on the other side, are required to get the module compiled.
Most base boxes come without kernel headers and build tools installed to save file size, so vbguest takes care about the very essentials.

On the ISO issue: I've just pushed an update according to #20 - The build-in ISO-detection was looking into the wrong places for windows. If there are no other issues coming up within the next days, I'll push a new gem soon.

In the meantime add this to your Vagrantfile's config block:

  config.vbguest.iso_path = File.join(ENV["VBOX_INSTALL_PATH"], "VBoxGuestAdditions.iso")

@mmodler
Copy link
Author

mmodler commented Jul 18, 2012

Hi,

thanks for the detailed explanations. The ISO downloads aren't critical and bring me some exta coffee dinking time, so i can easily wait for the next gem release :)

@13rac1
Copy link

13rac1 commented Sep 30, 2014

FYI On Win7 with babun, the standard install process works fine:

$ vagrant plugin install vagrant-vbguest
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.10.0)'!

@austinbutler
Copy link

Yep, Babun works fine. Thanks for the recommendation!

@dragon788
Copy link

On Win7 without Babun I can also do vagrant plugin install vagrant-vbguest from a PowerShell or cmd prompt.

@stale
Copy link

stale bot commented Jan 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 11, 2019
@stale stale bot closed this as completed Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants