M
M
MrChen2016-08-04 09:30:39
virtual box
MrChen, 2016-08-04 09:30:39

Why doesn't vagrant up work on ubuntu?

Hello! Installed vagrant and virtual box on Ubuntu. It's time to start...
1. I write:
vagrant up
To which I get this answer:

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.

2.Next, naturally I write:
VBoxManage --version
To which I receive the following answer:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.4.0-31-generic) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.
5.1.2r108956

3. I do what was written:
sudo /sbin/vboxconfig
On what, it turns out something like this:
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.

Please tell me what to do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question