Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jimbasilio/aaca8adc751b458c7f4446b4116d5223 to your computer and use it in GitHub Desktop.
Save jimbasilio/aaca8adc751b458c7f4446b4116d5223 to your computer and use it in GitHub Desktop.
log when vagrant fails to mount shared files
$ vagrant reload
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'oeldev' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 5601 (guest) => 5601 (host) (adapter 1)
default: 9000 (guest) => 9000 (host) (adapter 1)
default: 9999 (guest) => 9999 (host) (adapter 1)
default: 10000 (guest) => 10000 (host) (adapter 1)
default: 10001 (guest) => 10001 (host) (adapter 1)
default: 10002 (guest) => 10002 (host) (adapter 1)
default: 10003 (guest) => 10003 (host) (adapter 1)
default: 10004 (guest) => 10004 (host) (adapter 1)
default: 10005 (guest) => 10005 (host) (adapter 1)
default: 10006 (guest) => 10006 (host) (adapter 1)
default: 10007 (guest) => 10007 (host) (adapter 1)
default: 10008 (guest) => 10008 (host) (adapter 1)
default: 10009 (guest) => 10009 (host) (adapter 1)
default: 10010 (guest) => 10010 (host) (adapter 1)
default: 11001 (guest) => 11001 (host) (adapter 1)
default: 11002 (guest) => 11002 (host) (adapter 1)
default: 11003 (guest) => 11003 (host) (adapter 1)
default: 11004 (guest) => 11004 (host) (adapter 1)
default: 11005 (guest) => 11005 (host) (adapter 1)
default: 11006 (guest) => 11006 (host) (adapter 1)
default: 11007 (guest) => 11007 (host) (adapter 1)
default: 11008 (guest) => 11008 (host) (adapter 1)
default: 11009 (guest) => 11009 (host) (adapter 1)
default: 11010 (guest) => 11010 (host) (adapter 1)
default: 12001 (guest) => 12001 (host) (adapter 1)
default: 12002 (guest) => 12002 (host) (adapter 1)
default: 12003 (guest) => 12003 (host) (adapter 1)
default: 12004 (guest) => 12004 (host) (adapter 1)
default: 12005 (guest) => 12005 (host) (adapter 1)
default: 12006 (guest) => 12006 (host) (adapter 1)
default: 12007 (guest) => 12007 (host) (adapter 1)
default: 12008 (guest) => 12008 (host) (adapter 1)
default: 12009 (guest) => 12009 (host) (adapter 1)
default: 12010 (guest) => 12010 (host) (adapter 1)
default: 13001 (guest) => 13001 (host) (adapter 1)
default: 13002 (guest) => 13002 (host) (adapter 1)
default: 13003 (guest) => 13003 (host) (adapter 1)
default: 13004 (guest) => 13004 (host) (adapter 1)
default: 13005 (guest) => 13005 (host) (adapter 1)
default: 13006 (guest) => 13006 (host) (adapter 1)
default: 13007 (guest) => 13007 (host) (adapter 1)
default: 13008 (guest) => 13008 (host) (adapter 1)
default: 13009 (guest) => 13009 (host) (adapter 1)
default: 13010 (guest) => 13010 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection aborted. Retrying...
default: Warning: Connection reset. Retrying...
default: Warning: Connection aborted. Retrying...
default: Warning: Connection reset. Retrying...
==> default: Machine booted and ready!
[default] GuestAdditions 5.1.22 running --- OK.
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /dev => E:/src
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 dev /dev
The error output from the command was:
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment