Jump to content

How to fix this error in virtualbox?

I have installed virtualbox in Ubuntu and I want to run Phoenix OS in it. But when ever I try to start the Phoenix for the first time I am getting this error. How can I fix this. The screenshot of the error is given below:--

 

Screenshot from 2017-08-10 23-06-32.png

Link to comment
Share on other sites

Link to post
Share on other sites

Did you follow the instructions in the error message?

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

13 minutes ago, Sauron said:

Did you follow the instructions in the error message?

Yes but I am not sure that I did it correctly.

 

I am a linux noob. I installed Ubuntu to learn LINUX. Can you help me fixing this.

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, M.Yurizaki said:

Did you do modprobe vboxdrv or sudo modprobe vboxdrv?

yes I did that and I am getting this error:-

 

Quote

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.8.0-36-generic
 

 

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, 4klips said:

Yes but I am not sure that I did it correctly.

 

I am a linux noob. I installed Ubuntu to learn LINUX. Can you help me fixing this.

 

5 minutes ago, 4klips said:

yes I did that and I am getting this error:-

You need to install the kernel headers before you run modprobe.

sudo apt-get install linux-headers
dpkg-reconfigure virtualbox-dkms

 

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

When running this command

Quote

sudo apt-get install linux-headers

I am getting this result:--

 

Quote

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-headers is a virtual package provided by:
  linux-headers-4.8.0-36-generic 4.8.0-36.36~16.04.1
  linux-headers-4.4.0-6-lowlatency 4.4.0-6.21
  linux-headers-4.4.0-6-generic 4.4.0-6.21
  linux-headers-4.4.0-4-lowlatency 4.4.0-4.19
  linux-headers-4.4.0-4-generic 4.4.0-4.19
You should explicitly select one to install.

E: Package 'linux-headers' has no installation candidate
 

And when running this command 

Quote

dpkg-reconfigure virtualbox-dkms

I am getting this  result:--

Quote

------------------------------
Deleting module version: 5.0.14
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-5.0.14 DKMS files...
Building only for 4.8.0-36-generic
Building initial module for 4.8.0-36-generic
ERROR (dkms apport): kernel package linux-headers-4.8.0-36-generic is not supported
Error! Bad return status for module build on kernel: 4.8.0-36-generic (x86_64)
Consult /var/lib/dkms/virtualbox/5.0.14/build/make.log for more information.
Job for virtualbox.service failed because the control process exited with error code. See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
 

 

Link to comment
Share on other sites

Link to post
Share on other sites

You need the virtualbox-dkms package. Use `sudo apt install virtualbox-dkms` and it should get virtualbox working. I've never had to do anything with `modprobe` to get virtualbox working. Also, if for some reason the linux headers aren't pulled in as a dependency and you need them to be installed separately, use `sudo apt install linux-headers-4.8.0-36-generic`. You have the 4.8.0-36-generic kernel, so the header files should match that.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×