Linux Mint Kernel 4.5.0 /etc/init.d/vboxdrv setup failed

Discussions about using Linux guests in VirtualBox.
Post Reply
vampirex
Posts: 2
Joined: 6. Apr 2016, 04:38

Linux Mint Kernel 4.5.0 /etc/init.d/vboxdrv setup failed

Post by vampirex »

Virtualbox Version 5.0.16 r105871
Linux Mint 17.3
Kernel 4.5.0 Generic

Trying to setup virtualbox with no success.

Any help is greatly appreciated.

Thanks!
Attachments
make.log
(846 Bytes) Downloaded 39 times
vbox-install.log
(3.45 KiB) Downloaded 44 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Linux Mint Kernel 4.5.0 /etc/init.d/vboxdrv setup failed

Post by Perryg »

You need to update your gcc for that kernel.
vampirex
Posts: 2
Joined: 6. Apr 2016, 04:38

Re: Linux Mint Kernel 4.5.0 /etc/init.d/vboxdrv setup failed

Post by vampirex »

Thanks! it worked.

In case anyone is interested on the fix:

sudo apt-get install g++-4.9 c++-4.9
sudo ldconfig
cd /usr/bin/
ln -sf gcc-4.9 gcc
/etc/init.d/vboxdrv setup
Post Reply