mitchellh/vagrant — Issue #733: Can't mount vagrant directory in Windows
Author: synewaves
Created: 2012-02-12 22:15:45+00:00
State: open

I'm using vagrant 0.9.7 on Windows 7 (x64) from the standard command prompt. Ruby is installed via the RubyInstaller (with DevKit) version 1.9.3p0 (2011-10-30) [i386-mingw32]. I'm using a custom box that I built from Ubuntu 11.10.

This box (and vagrantfile) works fine for vagrant 0.9.7 on OSX 10.7.3 with ruby 1.9.3p0.

I get the following error:

[default] -- v-root: /vagrant
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` v-root /vagrant

This is my vagrantfile:

Vagrant::Config.run do |config|
config.vm.box = "oneiric64"
config.vm.box_url = "https://s3.amazonaws.com/ps-vagrant-boxes/oneiric64.box"
end

Here's a gist to the output with VAGRANT_LOG=debug: [https://gist.github.com/4241c1976ae744e1e686](https://gist.github.com/4241c1976ae744e1e686)