Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Virtualbox archlinux notes
# sudo /sbin/rcvboxdrv -h
# Unloading modules:
# Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.4.3-1-ARCH
# modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.4.3-1-ARCH
# modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.4.3-1-ARCH
# modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH
# Solution
# from https://forum.antergos.com/topic/818/can-t-run-my-vitualbox/4
pacman -Si linux
sudo pacman -S linux-headers
# will install DKMS properly
sudo pacman -S virtualbox virtualbox-guest-iso
# now this command should work :)
sudo modprobe -a vboxdrv vboxnetflt vboxpci vboxnetadp
# you may run this
sudo /sbin/rcvboxdrv -h
# add current user to vboxusers group
sudo gpasswd -a $USER vboxusers
# now add entries to /etc/modules-load.d/virtualbox.conf
# for startup
vim /etc/modules-load.d/virtualbox.conf
# insert this:
#vboxdrv
#vboxnetadp
#vboxnetflt
#vboxpci
@woxcab

This comment has been minimized.

Copy link

@woxcab woxcab commented Mar 15, 2016

Thank you very much for working solution!

@kikislater

This comment has been minimized.

Copy link

@kikislater kikislater commented May 24, 2016

Thank you

@jethrosun

This comment has been minimized.

Copy link

@jethrosun jethrosun commented Aug 26, 2016

Thank you very much, I have got no luck to solve a error for hours !

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Sep 13, 2016

WTH! Why is this not popular?

@sergey-alekseev

This comment has been minimized.

Copy link

@sergey-alekseev sergey-alekseev commented Sep 23, 2016

Thanks!

@dyrnade

This comment has been minimized.

Copy link

@dyrnade dyrnade commented Jan 25, 2017

Thank you mate.

@mualle

This comment has been minimized.

Copy link

@mualle mualle commented Jul 11, 2017

Thank you very much; you saved my day

@Zeioth

This comment has been minimized.

Copy link

@Zeioth Zeioth commented May 9, 2018

Times have changed. Now you only need this.

sudo pacman -S virtualbox virtualbox-host-modules-arch
modprobe vboxdrv vboxpci vboxnetflt
@avkosme

This comment has been minimized.

Copy link

@avkosme avkosme commented Apr 1, 2020

Thanks, cool man!

@Ali-Yazdanpanah

This comment has been minimized.

Copy link

@Ali-Yazdanpanah Ali-Yazdanpanah commented Apr 1, 2020

Hero of the day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment