[Kernel/Drive] 【已解决】更新内核之后VirtualBox无法启动原先正常使用的虚拟机
Tofloor
poster avatar
剥壳白煮蛋
deepin
2021-02-18 23:27
Author

Kernel: x86_64 Linux 5.11.0-xanmod1

按要求运行了一下:

$ 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.

Reply Favorite View the author
All Replies
剥壳白煮蛋
deepin
2021-02-18 23:29
#1

vbox-setup.log.txt

具体报错信息↑

Reply View the author
SamLukeYes
deepin
2021-02-18 23:35
#2

正常,5.11 才刚出来,virtualbox 不一定那么快跟进支持

Reply View the author
剥壳白煮蛋
deepin
2021-02-18 23:37
#3
SamLukeYes

正常,5.11 才刚出来,virtualbox 不一定那么快跟进支持

这,我竟无言以对

Reply View the author
lcw0268
deepin
2021-02-18 23:50
#4
剥壳白煮蛋

这,我竟无言以对

终端运行蓝色的命令。图片不是说了?

Reply View the author
lcw0268
deepin
2021-02-18 23:57
#5

呵呵,楼主来产品反馈版块发帖。

楼主没有意识到,楼主自己更换其它源的内核,就和产品无关了。

是不是产品反馈版块升级快,我看很多会员都来这里发帖。

我也想升级。可我没有题目。尽可能回帖,应该也能升级吧?

Reply View the author
沈拙言
deepin
2021-02-19 00:13
#6

不建议用5.11内核, virtualbox没适配, 最好还是回5.10

Reply View the author
剥壳白煮蛋
deepin
2021-02-19 00:18
#7
沈拙言

不建议用5.11内核, virtualbox没适配, 最好还是回5.10

是我莽撞了 >_<

如何回退内核版本呢?

以后还是等官方发布更新通知再更新吧。

Reply View the author
SamLukeYes
deepin
2021-02-19 00:19
#8

如果只是需要一个简单的虚拟机,可以用 gnome-boxes

Reply View the author
SamLukeYes
deepin
2021-02-19 00:21
#9
剥壳白煮蛋

是我莽撞了 >_<

如何回退内核版本呢?

以后还是等官方发布更新通知再更新吧。

重启,在启动菜单里面选择高级选项,可以看到你安装的所有内核。用旧内核启动,然后卸载新内核即可。

Reply View the author
剥壳白煮蛋
deepin
2021-02-19 00:23
#10
SamLukeYes

如果只是需要一个简单的虚拟机,可以用 gnome-boxes

好,我试试这个有没有剪切板双向同步和方便的文件共享。

Reply View the author
SamLukeYes
deepin
2021-02-19 00:25
#11
剥壳白煮蛋

好,我试试这个有没有剪切板双向同步和方便的文件共享。

这两个功能都有,但可能需要在虚拟机上装一些软件,具体看你虚拟机用什么操作系统

Reply View the author
rekees2020
deepin
2021-02-19 03:36
#12

按下列步骤,在5.11内核上可用Virtualbox

1. 安装Virtualbox官网最新版本

2. sudo deepin-editor /usr/share/virtualbox/src/vboxhost/vboxnetflt/linux/VBoxNetFlt-linux.c

3. 在第40行下面添加一行,内容为#include小于号linux/ethtool.h大于号

4. sudo /sbin/vboxconfig

Reply View the author
Comments
waitingforyou
2021-07-13 21:39
搜索了好多网页,还是这个亲测有用,谢谢!
rekees2020
deepin
2021-02-19 03:43
#13
It has been deleted!
rekees2020
deepin
2021-02-19 03:44
#14
It has been deleted!
Ziggy
deepin
2021-02-19 04:11
#15

内核不兼容,降级内核或到官网下载最新或者beta版本

Reply View the author
剥壳白煮蛋
deepin
2021-02-19 07:41
#16
Ziggy

内核不兼容,降级内核或到官网下载最新或者beta版本

谢谢回复,我已经回退了

Reply View the author
152******14
deepin
2021-04-06 02:18
#17
rekees2020

按下列步骤,在5.11内核上可用Virtualbox

1. 安装Virtualbox官网最新版本

2. sudo deepin-editor /usr/share/virtualbox/src/vboxhost/vboxnetflt/linux/VBoxNetFlt-linux.c

3. 在第40行下面添加一行,内容为#include小于号linux/ethtool.h大于号

4. sudo /sbin/vboxconfig

有效果

Reply View the author
liushanjian
deepin
2021-04-13 20:42
#18
rekees2020

按下列步骤,在5.11内核上可用Virtualbox

1. 安装Virtualbox官网最新版本

2. sudo deepin-editor /usr/share/virtualbox/src/vboxhost/vboxnetflt/linux/VBoxNetFlt-linux.c

3. 在第40行下面添加一行,内容为#include小于号linux/ethtool.h大于号

4. sudo /sbin/vboxconfig

亲测有用!!!顶

Reply View the author
alex_inc
deepin
2021-06-29 06:37
#19

安装最新的6.1.22需要提示无数次弹框的解决办法,https://ywnz.com/linuxjc/7854.html  亲测有效  

Reply View the author
风吹过的绿洲
deepin
2021-07-02 06:46
#20

这个在20.2.2上无效了。。。。。。。。。。。

还有其他方法吗

Reply View the author