锦方的个人网页

debian桌面端安装virtualbox和安卓模拟器

发布 · 约 42 字 · 预计 1 分钟

在 Debian 桌面安装 VirtualBox 和安卓模拟器,处理内核模块报错并安装扩展包。

归档记录:本文最后更新于 2017 年,文中涉及的软件版本、配置或命令可能已随环境演进发生变化。

##安装 sudo apt-get install virtualbox ##rc = -1908

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/sbin/vboxconfig'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

###安装dkms sudo apt-get install dkms

sudo apt-get install --reinstall virtualbox-dkms ##扩展包 共享文件需要安装扩展包 ###扩展包下载 https://www.virtualbox.org/wiki/Downloads

安装android模拟器genymotion #

下载genymotion

sudo ./genymotion-2.4.0_x64.bin
#注意替换版本

✉ 对本文有补充或勘误?欢迎就本文写信交流。