sh Virtualbox archlinux笔记

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Virtualbox archlinux笔记相关的知识,希望对你有一定的参考价值。

# 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

以上是关于sh Virtualbox archlinux笔记的主要内容,如果未能解决你的问题,请参考以下文章

VirtualBox中ArchLinux增强设置

在 fstab ArchLinux 中自动挂载 Virtualbox 共享文件夹

Archlinux下virtualbox报错'/sbin/rcvboxdrv setup'

[ARCH] 1virtualbox中安装archlinux+i3桌面,并做简单美化

在 VirtualBox 虚拟机中安装 Arch Linux 系统指南

ArchLinux 下 virtualbox 报错 libQtCore.so.4: cannot open shared object file