Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tonykevin
Forked from GabLeRoux/archlinux-virtualbox.sh
Created March 9, 2016 21:42
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tonykevin/5bc1742a5c26bca62877 to your computer and use it in GitHub Desktop.
Save tonykevin/5bc1742a5c26bca62877 to your computer and use it in GitHub Desktop.
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
@juliadotter
Copy link

Thank you, you just saved my life!!

@martijnboers
Copy link

Thanks mate, why would they ever change it like this.

@koifish082
Copy link

Thank you for so helpful information!! It works well. :)

@Geequlim
Copy link

Thank you!

@thetekst
Copy link

10x

@anhskohbo
Copy link

Thank you so much!

@abd1rahmane
Copy link

Thank you <3

@LeekinGTA
Copy link

Thank you once again

@assistof
Copy link

valeu jovem!

@cactail
Copy link

cactail commented Mar 12, 2017

I have installed all those packages. My VB still not working.
modprobe: WARNING: Module vboxdrv not found in directory /lib/modules/4.9.11-1-ARCH

@watzon
Copy link

watzon commented Jul 10, 2017

Yay! You are the best!

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