[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.
Post Reply
Lucas
Black ninja
Black ninja
Posts: 42
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: 5127
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: trouble compiling Virtualbox

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

Carpe diem.

fulalas
DEV Team
DEV Team
Posts: 835
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: 42
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: 42
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: 5127
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

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.
Carpe diem.

Post Reply