安装:
# pacman -S virtualbox
配置:
使用时加载vboxdrv模块:#modprobe vboxdrv
(或者设置开机加载:1。建立文件“/etc/modules-load.d/virtualbox.conf” 2。写入内容“vboxdrv”)
附加光盘:
# pacman -S virtualbox-guest-iso
安装后iso路径:/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
问题:主机模式网络接口创建失败:
To be able to create a Host-Only Network Adapter or a Bridged Network Adapter the kernel modules vboxnetadp and vboxnetflt need to be loaded, you also need to make sure the net-tools package is installed. It's possible to load these kernel modules manually with
# modprobe -a vboxnetadp vboxnetflt
若要开机自动加载,每个模块添加一行到 /etc/modules-load.d/virtualbox.conf:
vboxdrv
vboxnetadp
vboxnetflt