Ubuntu: VirtualBox has to compile on every boot



Question:

I have to compile VirtualBox on every boot manually by running sbin/vboxconfig.sh otherwise, it doesn't run what's a permanent solution to this problem?. My kernel version is 4.4.0-72.

    srseven@srseven-HP-15-Notebook-PC:~/genymotion/tools$ dkms status      bcmwl, 6.30.223.248+bdcom, 4.4.0-64-generic, x86_64: installed      bcmwl, 6.30.223.248+bdcom, 4.4.0-66-generic, x86_64: installed      bcmwl, 6.30.223.248+bdcom, 4.4.0-70-generic, x86_64: installed      bcmwl, 6.30.223.248+bdcom, 4.4.0-71-generic, x86_64: installed      bcmwl, 6.30.223.248+bdcom, 4.4.0-72-generic, x86_64: installed      rtlwifi-new, 0.10~trusty, 4.4.0-64-generic, x86_64: installed (original_module exists)      rtlwifi-new, 0.10~trusty, 4.4.0-66-generic, x86_64: installed (original_module exists)      rtlwifi-new, 0.10~trusty, 4.4.0-70-generic, x86_64: installed (original_module exists)      rtlwifi-new, 0.10~trusty, 4.4.0-71-generic, x86_64: installed (original_module exists)      rtlwifi-new, 0.10~trusty, 4.4.0-72-generic, x86_64: installed (original_module exists)      srseven@srseven-HP-15-Notebook-PC:~$ dpkg -l *virtualbox*  Desired=Unknown/Install/Remove/Purge/Hold  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)  ||/ Name           Version      Architecture Description  +++-==============-============-============-=================================  un  virtualbox     <none>       <none>       (no description available)  ii  virtualbox-5.1 5.1.18-11400 amd64        Oracle VM VirtualBox  un  virtualbox-gue <none>       <none>       (no description available)  un  virtualbox-gue <none>       <none>       (no description available)  un  virtualbox-ose <none>       <none>       (no description available)  


Solution:1

From the comments...

You're running Trusty/14.04 with an updated kernel 4.4.0-72. You've installed:

http://download.virtualbox.org/virtualbox/5.1.18/virtualbox-5.1_5.1.18-114002~Ubuntu~trusty_amd64.deb

which doesn't match your kernel. Did you also install the newer "linux-extras" .deb and the newer "linux-headers" .deb? If not, install them, or downgrade to the stock kernel from the Trusty distribution.

You can also GRUB boot to the prior original Trusty kernel, if you've kept it around.

If you keep your current kernel, you'll need to install a newer version of VirtualBox, probably this one:

http://download.virtualbox.org/virtualbox/5.1.18/virtualbox-5.1_5.1.18-114002~Ubuntu~xenial_amd64.deb.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »