You are not logged in.

#1 2018-05-29 11:54:06

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Problems installing VirtualBox

I followed the wiki and got stuck.

 sudo modprobe vboxdrv 

and I got:

 modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.14.41-1-lts 

What can I do?

Offline

#2 2018-05-29 12:18:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Problems installing VirtualBox

As you are not using the linux kernel you have to install the linux-lts-headers and the virtualbox-guest-dkms packages. Read the relevant wiki section again. https://wiki.archlinux.org/index.php/Vi … _Additions

Offline

#3 2018-05-29 12:28:25

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

V1del wrote:

As you are not using the linux kernel you have to install the linux-lts-headers and the virtualbox-guest-dkms packages. Read the relevant wiki section again. https://wiki.archlinux.org/index.php/Vi … _Additions

It still not working...

Offline

#4 2018-05-29 12:37:59

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Problems installing VirtualBox

TheZadok42 wrote:

I followed the wiki and got stuck.

 sudo modprobe vboxdrv 

and I got:

 modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.14.41-1-lts 

What can I do?

Have you rebooted since the last kernel update?

Offline

#5 2018-05-29 12:41:08

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

forbi wrote:
TheZadok42 wrote:

I followed the wiki and got stuck.

 sudo modprobe vboxdrv 

and I got:

 modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.14.41-1-lts 

What can I do?

Have you rebooted since the last kernel update?

yes

Offline

#6 2018-05-29 12:44:20

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Problems installing VirtualBox

:: There are 2 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository community
    1) virtualbox-host-dkms 2) virtualbox-host-modules-arch

Enter a number (default=1):

Which one did you choose?

Last edited by forbi (2018-05-29 12:44:41)

Offline

#7 2018-05-29 12:48:11

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

2

Offline

#8 2018-05-29 12:50:27

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Problems installing VirtualBox

output of :
ls /lib/modules/
uname -r

Offline

#9 2018-05-29 12:56:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Problems installing VirtualBox

In post #2 you were told you need the dkms package which you said you had, then in post #6 you were asked again and you said you chose the non-dkms package.  Which is it?  Follow the wiki and install the right package.  virtualbox-host-modules-arch will not work with the lts kernel.

Last edited by Trilby (2018-05-29 12:56:36)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2018-05-29 12:58:44

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

 ls /lib/modules/
4.14.41-1-lts/  4.16.11-1-ARCH/  extramodules-4.14-lts/  extramodules-4.16-ARCH/ 
 uname -r
4.14.41-1-lts 

Offline

#11 2018-05-29 12:59:23

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

Trilby wrote:

In post #2 you were told you need the dkms package which you said you had, then in post #6 you were asked again and you said you chose the non-dkms package.  Which is it?  Follow the wiki and install the right package.  virtualbox-host-modules-arch will not work with the lts kernel.

I tried to follow the wiki and I really didn't understood what to do

Offline

#12 2018-05-29 12:59:57

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Problems installing VirtualBox

Trilby wrote:

In post #2 you were told you need the dkms package which you said you had, then in post #6 you were asked again and you said you chose the non-dkms package.  Which is it?  Follow the wiki and install the right package.  virtualbox-host-modules-arch will not work with the lts kernel.

Good catch, got confused with the arch wiki order and asumed that virtualbox-host-dkms was option 2!

Offline

#13 2018-05-29 13:01:18

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Problems installing VirtualBox

TheZadok42 wrote:

I tried to follow the wiki and I really didn't understood what to do

for linux kernel choose virtualbox-host-modules-arch
for other kernels choose virtualbox-host-dkms

you are not using linux kernel, you are using linux-lts. So you should choose the option virtualbox-host-dkms.

:: There are 2 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository community
    1) virtualbox-host-dkms 2) virtualbox-host-modules-arch

Enter a number (default=1):

Last edited by forbi (2018-05-29 13:02:34)

Offline

#14 2018-05-29 13:04:32

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

forbi wrote:
TheZadok42 wrote:

I tried to follow the wiki and I really didn't understood what to do

for linux kernel choose virtualbox-host-modules-arch
for other kernels choose virtualbox-host-dkms

you are not using linux kernel, you are using linux-lts. So you should choose the option virtualbox-host-dkms.

:: There are 2 providers available for VIRTUALBOX-HOST-MODULES:
:: Repository community
    1) virtualbox-host-dkms 2) virtualbox-host-modules-arch

Enter a number (default=1):

I see
so should I reinstall it?

Offline

#15 2018-05-29 13:09:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Problems installing VirtualBox

pacman -R virtualbox-host-modules-arch
pacman -S virtualbox-host-dkms

(edit: the first command above is optional: just removing a package you may not need.  If you plan on using the stock arch kernel sometimes too you may not want to remove that package.  The second command above is what you really need.)

Last edited by Trilby (2018-05-29 13:11:58)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#16 2018-05-29 13:11:49

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

new error
Now I get a new error. I understand it is somewhere in the BOIS, but where?

Offline

#17 2018-05-29 13:16:41

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

When I reduced the RAM to 3gb it opens but tells me I do not have a 64bit OS...

Offline

#18 2018-05-29 13:22:03

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: Problems installing VirtualBox

TheZadok42 wrote:

https://imgur.com/a/uHqWkge
Now I get a new error. I understand it is somewhere in the BOIS, but where?

You need to enable virtualization  (vt-x) in your bios.

Google: how to enable vt-x in [your motherboard]

Last edited by forbi (2018-05-29 13:22:48)

Offline

#19 2018-05-29 13:23:35

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

forbi wrote:
TheZadok42 wrote:

https://imgur.com/a/uHqWkge
Now I get a new error. I understand it is somewhere in the BOIS, but where?

You need to enable virtualization  (vt-x) in your bios.

Google: how to enable vt-x in [your motherboard]

I did it, did not work...

Offline

#20 2018-05-29 13:28:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Problems installing VirtualBox

I can empathize with your frustration, but please recognize that the following gives us absolutely nowhere to go:

TheZadok42 wrote:

I did it, did not work...

This is especially the case when the last time you said this it wasn't even true.  If you did in fact change the setting in your BIOS, then you could not get the same error message.

Last edited by Trilby (2018-05-29 13:29:32)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#21 2018-05-29 13:50:31

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

Trilby wrote:

I can empathize with your frustration, but please recognize that the following gives us absolutely nowhere to go:

TheZadok42 wrote:

I did it, did not work...

This is especially the case when the last time you said this it wasn't even true.  If you did in fact change the setting in your BIOS, then you could not get the same error message.

yes, sorry.
I have enabled the vt-x option in my BIOS and rebooted to linux.
I tried to open the VM and it showed this.

Offline

#22 2018-05-29 14:55:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: Problems installing VirtualBox

You're emulating a 32bit cpu, also you apparently have no VT-x (which is mandatory for 64bit guests), let's see

lscpu

Offline

#23 2018-05-29 14:56:58

TheZadok42
Banned
Registered: 2018-03-05
Posts: 24

Re: Problems installing VirtualBox

I simply forgot to set the VM as win 10 64bit.
Thank you all for your help and patience!

Offline

Board footer

Powered by FluxBB