Closed Micka33 closed 10 years ago
For now this is working:
➜ wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.3_x86_64.deb
➜ dpkg -i vagrant_1.6.3_x86_64.deb
Add one of the following lines according to your distribution to your /etc/apt/sources.list.
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
deb http://download.virtualbox.org/virtualbox/debian saucy contrib
deb http://download.virtualbox.org/virtualbox/debian raring contrib
deb http://download.virtualbox.org/virtualbox/debian quantal contrib
deb http://download.virtualbox.org/virtualbox/debian precise contrib
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
Download and register the Oracle public key for apt-secure.
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Install VirtualBox
➜ sudo apt-get update
➜ sudo apt-get install virtualbox-4.3
Install the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp).
sudo apt-get install dkms
For the latest Vagrant release see : https://www.vagrantup.com/downloads _For the latest virtualbox release see: https://www.virtualbox.org/wiki/Linux_Downloads_
➜ vagrant up
VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
➜ VBoxManage --version
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.13.0-32-generic) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
4.3.14r95030
➜ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 3.13.0-32-generic cannot be found.
Please install the linux-headers-3.13.0-32-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
➜
If you get this error, then as the message says, install the linux headers.
➜ sudo apt-get install linux-headers-3.13.0-32-generic
Setup dkms again.
➜ sudo /etc/init.d/vboxdrv setup
I saw the same error with vagrant 1.8.7 on CentOS 7.3 with kernel version 3.10.0-514.10.2.el7.x86_64.
The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.10.0-514.10.2.el7.x86_64)
The following steps resolved the error for me:
yum -y install kernel-headers kernel-devel
sudo /sbin/rcvboxdrv setup
VBoxManage --version
I have an ubuntu server 14.04 :
How do I install Vagrant and make it work ?