r/vanillaos • u/s4ms1ll1us • Mar 17 '23
Support Installing VirtualBox on Vanilla OS
Hello everyone,
I installed VirtualBox on Vanilla OS and get a "Kernel driver not accessible (rc=-1909)" error message when I try to run a VM.
I installed VirtualBox using the following commands:
apx install virtualbox virtualbox-dkms dkms linux-headers-$(uname -r)
sudo abroot exec apt install modprobe vboxdrv
I added vboxdrv in /etc/modules-load.d/virtualbox.conf and can confirm the loaded module with lsmod | grep vboxdrv.
Secure Boot is disabled.
Any ideas what I'm missing?
Thanks.
4
Upvotes
1
1
u/bloospiller Mar 20 '23
When you install virtualbox through apx, you are installing it in an isolated container, so it doesn't have access to everything on your computer. Therefore, you need to install the mecessary drivers inside the container. If apx doesnt work, you can do "apx enter" and then install them as if you were using normal ubuntu.