侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

ubuntu vbox虚拟机启动错误

2023-11-30 星期四 / 0 评论 / 0 点赞 / 51 阅读 / 1392 字

Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not lo

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
'/etc/init.d/vboxdrv setup'
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.

但是运行/etc/init.d/vboxdrv setup 时候没有出现vboxdrv这个模块,原因是dkms没有安装。

#更新源
sudo apt-get update
#安装module-assistant
sudo apt-get install module-assistant
#重新编译对应模块
sudo module-assistant auto-install virtualbox-ose
#列出已经加载了的模块
lsmod | grep vbox
#卸载旧的vboxdrv模块
sudo modprobe -r vboxdrv
#加载新的vboxdrv模块
sudo modprobe vboxdrv

这个时候发现我原先设置的桥接模式不能使用了提示:
Failed to open/create the internal network 'HostInterfaceNetworking-tap0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). Unknown error creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND).
提示无法使用我的tap0接口(tap0是我设置的虚拟网络连接)

使用如下命令加载另一个模块:
sudo modprobe vboxnetflt。

广告 广告

评论区