I have VirtualBox 4.3.10 and Vagrant 1.4.3 installed on my Ubuntu 14.04 64 bit Desktop.
Earlier, worked with vagrant technology but this time, multiple issue. Let me describe what I have done
clone private git to local system /opt/lampp/htdocs/{project} : done
root@desktop:/opt/lampp/htdocs/{project}$ vagrant up
gives message on terminal while execution
GuestAdditions
versions on your host (4.3.10) and guest (4.2.0) do not match.
command completed with below message
Failed to mount folders in Linux guest. This is usually beacuse the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was:
...
I understand this is version difference.
check
vagrant vbguest --status
GuestAdditions 4.3.10 running --- OK.
Open browser and run with
http://192.168.0.33
(mentioned on README.md file of private git repo) but it didn't work.
UPDATE
Installed vagrant-vbguest as suggested here
$:sudo vagrant plugin install vagrant-vbguest
Installed the plugin 'vagrant-vbguest (0.10.0)'!
By doing this,message of version difference of GuestAdditions
described in 2. is gone
- restart
vagrant halt
and thenvagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Clearing any previously set forwarded ports...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 80 => 8080 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
GuestAdditions 4.3.10 running --- OK.
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrantFailed to mount folders in Linux guest. This is usually beacuse the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was:
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
Do I need to change anything in local vagrantfile
or change vagrant version or something else?
Some say it is a bug whilesome gives solution for ubuntu < 14.04
Kindly suggest the solution hints and how to fix this issue?