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

VM not starting on vagrant up #231

Closed
rhuffstedtler opened this issue Sep 6, 2015 · 2 comments · Fixed by #232
Closed

VM not starting on vagrant up #231

rhuffstedtler opened this issue Sep 6, 2015 · 2 comments · Fixed by #232

Comments

@rhuffstedtler
Copy link
Contributor

I think the issue is occuring when it is trying to setup the shared folders. It just hangs.

This is on Windows7, VBox 5.0.2, vagrant 1.7.4.

Trying to use the example config and make files, with one small change. This is my
vagrant_synced_folders config:

vagrant_synced_folders:
  # The first synced folder will be used for the default Drupal installation, if
  # build_from_makefile is 'true'.
  - local_path: D:/Sites/drupalvm
    destination: /var/www
    id: drupal
    type: smb
    create: true

Last few lines of output when running vagrant up --debug are:
DEBUG host: Searching for cap: nfs_prune
DEBUG host: Checking in: windows
INFO nfs: Host doesn't support pruning NFS. Skipping.
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolderCleanup
:0x3df9c20>
INFO subprocess: Starting process: ["C:\Windows\System32\WindowsPowerShell
v1.0/powershell.EXE", "-NoProfile", "-ExecutionPolicy", "Bypass", "$PSVersionT
able.PSVersion.Major"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: 2

@rhuffstedtler
Copy link
Contributor Author

I think I found the issue. I found this is the vagrant issue queue: hashicorp/vagrant#3139. Apparently, one needs PowerShell version 3.0 or higher. Win7 is at 2.0. I downloaded the latest Windows Management Framework, which comes with 4.0 and that got me much further into the process. I'll fork, update the README, and submit a pull request.

@geerlingguy
Copy link
Owner

I'll definitely merge in that PR once the update has been made (putting the notes in docs instead of the main README). Thanks!

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

Successfully merging a pull request may close this issue.

2 participants