[SOLVED] trouble compiling Virtualbox

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
Lucas
Black ninja
Black ninja
Posts: 43
Joined: 25 Apr 2015, 01:58
Distribution: Porteus 3.1
Location: São Paulo, Brazil

[SOLVED] trouble compiling Virtualbox

Post#1 by Lucas » 19 Apr 2017, 20:13

Hi everyone,

I'm having trouble compiling Virtualbox with Vbox Builder. I don't know why, it says that vboxdrv.sh: failed: modprobe vboxdrv failed... Can someone help me solve this issue? Sharing the module could also solve temporarily the issue (at lest until it gets outdated).

Thanks,

Regards.
Last edited by Lucas on 26 Apr 2017, 21:04, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: trouble compiling Virtualbox

Post#2 by francois » 19 Apr 2017, 20:30

Prendre son temps, profiter de celui qui passe.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: trouble compiling Virtualbox

Post#3 by fulalas » 19 Apr 2017, 21:21

I'm having problems too.

francois, unfortunately VirtualBox must be compiled with the same Linux kernel you'll use, and since Lucas didn't specify what kernel version he's using, it's improbable that it'll work. Also, the new VirtualBox version is 5.1.20.

Lucas
Black ninja
Black ninja
Posts: 43
Joined: 25 Apr 2015, 01:58
Distribution: Porteus 3.1
Location: São Paulo, Brazil

Re: trouble compiling Virtualbox

Post#4 by Lucas » 19 Apr 2017, 21:52

Hi Fulalas and Francois,

I'm downloading it right now, and will give it a try. I have some observations that I will point at, since it can help to solve other people problems too. I don't know why my Porteus is giving a black screen after loading my modules when I try to load the devel module while booting (maybe this is the problem). What I tried to do is to load it after KDE or LXDE is already good and running.

I will report soon,

Thanks,

Lucas.

Lucas
Black ninja
Black ninja
Posts: 43
Joined: 25 Apr 2015, 01:58
Distribution: Porteus 3.1
Location: São Paulo, Brazil

Re: trouble compiling Virtualbox

Post#5 by Lucas » 19 Apr 2017, 22:50

Hi everyone,

I did manage to make it work. First, after talking to you my Porteus started giving an error after loading the modules.It said that was configuring vboxdrv.sh so I went into a base copy to ram and downloaded/activated the most new kernel, vmlinuz, crippled_resources and devel (http://dl.porteus.org/x86_64/kernel/porteus-4.9.12/). I compiled it while in base, copy to ram. After that I moved it from tmp ( in live) to modules folder. It worked. You can find the module below:

https://drive.google.com/open?id=0BypJ4 ... Wx4aHlVUms
Thanks a lot,

Regards.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: trouble compiling Virtualbox

Post#6 by francois » 20 Apr 2017, 02:45

Great! :D

Mark this thread solved. A succinct summary of the procedure would be good for newcomers.
Prendre son temps, profiter de celui qui passe.

Post Reply