You are not logged in.
Pages: 1
I've never gotten Virtualbox to work in my arch box
Installed virtualbox-host-modules-arch and virtualbox linux-headers linux-lts-headers
From terminal
command:virtualbox
OUTPUT:WARNING: The vboxdrv kernel module is not loaded. Either
available for the current kernel (4.9.27-1-lts)
load. Please recompile the kernel module and in
sudo /sbin/vboxconfig
You will not be able to start VMs until this pr
Qt WARNING: libpng warning: iCCP: known incorrect sRGB p
command: modprobe vboxdrv
output: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.9.27-1-lts
and in my virtualbox I see the error.
Virtualbox - Error
Failed to open a session for the virtual machine Arch.
The virtual machine 'Arch' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}
I read and didnt get any info how to make it work. Nor did googling around helped..
https://wiki.archlinux.org/index.php/VirtualBox
Any tips?
Last edited by simplisticways (2017-05-14 17:21:28)
Offline
virtualbox-host-modules-arch 5.1.22-2 description "Virtualbox host kernel modules for Arch Kernel" the arch kernel meaning the linux package not the linux-lts package.
Either use the linux kernel or switch to virtualbox-host-dkms or build a custom package for linux-lts. Please use code tags for commands plus their output.
Edit:
Also from the wiki page you linked to
Install the virtualbox package. You will need to choose a package to provide host modules:
for linux kernel choose virtualbox-host-modules-arch
for other kernels choose virtualbox-host-dkms
Last edited by loqs (2017-05-14 17:28:51)
Offline
But I already have the virtualbox-host-modules-arch installed?
Should I specify it in the configs or something?
Offline
Please read the wiki excert that was quoted. For the kernel in the `linux` package, you can use the virtualbox-host-modules-arch, but you are not using the `linux` package kernel. So the very next bullet-point: "for other kernels choose virtualbox-host-dkms".
And as loqs already further emphasized, switch to virtualbox-host-dkms.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
As loqs already pointed out, virtualbox-host-modules-arch is only for the standard kernel. As you are using the lts jernel you need virtualbox-host-dkms instead.
Offline
Pages: 1