Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

/vagrant folder not there - Guest Additions not installing. #33

Open
noducks opened this issue Mar 26, 2014 · 11 comments
Open

/vagrant folder not there - Guest Additions not installing. #33

noducks opened this issue Mar 26, 2014 · 11 comments

Comments

@noducks
Copy link

noducks commented Mar 26, 2014

With VBox 4.3.8 & Vagrant 1.5.1 on Mavericks - Am running

vagrant init boot2docker https://github.com/mitchellh/boot2docker-vagrant-box/releases/download/v0.5.4-1/boot2docker_virtualbox.box

vagrant up

I get the Kernel Panic error #25, so I run

VBoxManage setextradata blah_default_1395829057913_10574 VBoxInternal/CPUM/EnableHVP 1

which seems to fix it, vagrant up again gives me:

The guest's platform is currently not supported, will try generic Linux method... Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso boot2docker: 0.5.4 Installing Virtualbox Guest Additions 4.3.8 - guest version is boot2docker: 0.5.4 mkdir: can't create directory '/tmp/selfgz9247220': No such file or directory Cannot create target directory /tmp/selfgz9247220 You should try option --target OtherDirectory An error occurred during installation of VirtualBox Guest Additions 4.3.8. Some functionality may not work as intended. In most cases it is OK that the "Window System drivers" installation failed. boot2docker: 0.5.4 boot2docker: 0.5.4 rm: remove '/tmp/VBoxGuestAdditions.iso'? ==> default: Checking for guest additions in VM... default: No guest additions were detected on the base box for this VM! Guest default: additions are required for forwarded ports, shared folders, host only default: networking, and more. If SSH fails on this machine, please install default: the guest additions and repackage the box to continue. default: default: This is not an error message; everything may continue to work properly, default: in which case you may ignore this message.

When I vagrant ssh - there is no /vagrant folder available. It seems that Guest Additions aren't installing. Have tried the vbguest plugin, but get the same errors. Any suggestions?

Have also tried building the box, but the virtual box kernel panic error doesn't let the packer script finish the script.

@mszu
Copy link

mszu commented Mar 26, 2014

I believe this is due to boot2docker itself, not this particular vagrant configuration. See boot2docker/boot2docker#282 for details on the work in progress to support this.

@dduportal
Copy link
Contributor

Check my fork, i got a version working from the referenced PR of b2d (282) : Here is a working version for building a vagrant basebox with vboxsf by default for /vagrant mount : https://github.com/dduportal/boot2docker-vagrant-box/tree/1a92a02eb8839d5210df044e9553f5f06e098090.

It works very well !

@mitchellh : Can i make you a PR or do you want to wait a vanilla b2d with vbosf from @steeve ?

@jonnyzzz
Copy link

Does not work for me. I do not see /vagrant folder in the started VM

@dduportal
Copy link
Contributor

@jonnyzzz Which one do you use ? @mitchellh one ore mine ? Could you provide some useful information for testing/reproducing ?

@jonnyzzz
Copy link

It looks the .iso is lacking VirtualBox guest addons. It seems both are affected

@dduportal
Copy link
Contributor

@jonnyzzz I don't understand which iso while we are working on vagrant base box ?
If you wanna try, i got a vagrant cloud image (dduportal/boot2docker) but a little bit old (b2d 0.8.0).

Working on a new version while b2d has changed the build process...

@romanodesouza
Copy link

@dduportal it is working pretty fine for me. +1 for a PR to make this official. Thank you.

@dduportal
Copy link
Contributor

PR including vboxsf shared folder : #56

@amaltson
Copy link

amaltson commented Sep 9, 2014

👍 for guest additions, would make dvm the go-to for boot2docker working with fig

@dduportal
Copy link
Contributor

Hi all, i made a pull request since b2d 1.3.0 embed vboxsf, which enable the default /vagrant folder sharing : #69

legal90 pushed a commit to legal90/boot2docker-vagrant-box that referenced this issue Sep 12, 2015
@ghost
Copy link

ghost commented Dec 23, 2015

Note to posterious Googlers,
Update your install of vagrant,
This is already being shipped in newest versions. that is all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants