nix-community / nixbox

NixOS Vagrant boxes [maintainer=@ifurther]
https://app.vagrantup.com/nixbox/
MIT License
309 stars 101 forks source link

VBoxGuestAdditions mount error #34

Open allochi opened 5 years ago

allochi commented 5 years ago

Could you please help solve this problem? Thanks!

==> default: Machine booted and ready!
[default] GuestAdditions versions on your host (5.2.18) and guest (5.2.8) do not match.
The guest's platform ("nixos") 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
Mounting Virtualbox Guest Additions ISO to: /mnt
mount: /mnt: mount point does not exist.
==> default: Checking for guest additions in VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount /tmp/VBoxGuestAdditions.iso -o loop /mnt

Stdout from the command:

Stderr from the command:

mount: /mnt: mount point does not exist.
allochi commented 5 years ago

Ok, the only solution I can find is to downgrade VirtualBox to 5.2.8

PierreR commented 5 years ago

@allochi FWIW I am using 5.2.14 successfully which is also the default version of the client provided in nixos.

samrose commented 5 years ago

@PierreR is there a recommended way to override that guest addition version?

palfrey commented 5 years ago

config.vbguest.auto_update = false seemed to solve most of the problem for me (from https://stackoverflow.com/a/37560913/320546)