[Seek Help] 重装20.9系统后, 安装Virtualbox成功,但创建虚拟机报错
Tofloor
poster avatar
whoami
deepin
2023-07-07 21:31
Author

系统信息

image.png

报错信息

image.png

按照报错执行命令后显示信息

sudo /sbin/vboxconfig 
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

查看报错信息日志文件内容如下图

image.png

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-07-07 21:33
#1

终端执行 uname -r 看用的什么内核。

Reply View the author
忘记、过去
deepin
2023-07-07 21:34
#2

从哪里装的 VirtualBox?如果是官网安装的话,需要选择 Debian buster 仓库安装。截图里显示你装的版本应该不适配 Deepin V20

Reply View the author
whoami
deepin
2023-07-07 21:34
#3
阿尼樱奈奈

终端执行 uname -r 看用的什么内核。

第一张图里有

6.1.36-amd64-desktop-hwe-xanmod1

Reply View the author
whoami
deepin
2023-07-07 21:37
#4
忘记、过去

从哪里装的 VirtualBox?如果是官网安装的话,需要选择 Debian buster 仓库安装。截图里显示你装的版本应该不适配 Deepin V20

官网装的这个

image.png

报上述错误后, 卸载在spark商店装的同版本的, 还是同样的报错。

如下版本也试了, 一样的报错

image.png

ps: 重装系统前装成功了的, 只不过之前的内核是5.15

Reply View the author
阿尼樱奈奈
Moderator
2023-07-07 21:38
#5
whoami

官网装的这个

image.png

报上述错误后, 卸载在spark商店装的同版本的, 还是同样的报错。

如下版本也试了, 一样的报错

image.png

ps: 重装系统前装成功了的, 只不过之前的内核是5.15

你是装的这个帖子的内核吗:https://bbs.deepin.org/phone/post/258476

Reply View the author
whoami
deepin
2023-07-07 21:40
#6
阿尼樱奈奈

你是装的这个帖子的内核吗:https://bbs.deepin.org/phone/post/258476

是的

Reply View the author
whoami
deepin
2023-07-07 21:44
#7
阿尼樱奈奈

你是装的这个帖子的内核吗:https://bbs.deepin.org/phone/post/258476

经你提示, 我重启选了5.18的原内核, 可以进了, 看来还是这个内核跟这个vb不搭调, 先这样用着, 多谢。

Reply View the author
青稚
Moderator
2023-07-07 23:29
#8
whoami

经你提示, 我重启选了5.18的原内核, 可以进了, 看来还是这个内核跟这个vb不搭调, 先这样用着, 多谢。

卸载vmbox之后进6.1内核重装一下试试看。

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2023-07-08 18:19
#9

截图_选择区域_20230708101825.jpg
这个问题好解决。以管理员权限执行这句就行了。

Reply View the author
ThinKinG
deepin testing team
2023-07-24 21:37
#10

换个低版本的内核可以解决吗?

Reply View the author
whoami
deepin
2023-07-25 18:35
#11
ThinKinG

换个低版本的内核可以解决吗?

换到5.18.17-amd64-desktop-hwe没问题了

Reply View the author