你好,最近安装了 Ubuntu Server 17.04 和 virtualbox 的一个新副本,然后运行进行发布升级命令升级到17.10。
我现在得到了以下错误,是因为内核版本还是其他原因?此时,virtualbox 网站建议为 Ubutu 17.04 下载最新版本 :(
-- Unit virtualbox.service has begun starting up.
Oct 28 14:55:31 ares virtualbox[902]: * Loading VirtualBox kernel modules...
Oct 28 14:55:31 ares virtualbox[902]: * No suitable module for running kernel found
Oct 28 14:55:31 ares virtualbox[902]: ...fail!
Oct 28 14:55:31 ares systemd[1]: virtualbox.service: Control process exited, code=exited status=1
Oct 28 14:55:31 ares systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
-- Subject: Unit virtualbox.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit virtualbox.service has failed.
--
-- The result is failed.
apt 列表 virtualbox输出结果如下:
Listing... Done
virtualbox/artful,now 5.1.30-dfsg-1 amd64 [installed]
重新安装 vbox 仍然出现以下情况(安装时):
Job for virtualbox.service failed because the control process exited with error code.
See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-10-28 16:25:50 CEST; 5ms ago
Docs: man:systemd-sysv-generator(8)
Process: 4586 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
CPU: 26ms
Oct 28 16:25:50 ares systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Oct 28 16:25:50 ares virtualbox[4586]: * Loading VirtualBox kernel modules...
Oct 28 16:25:50 ares virtualbox[4586]: * No suitable module for running kernel found
Oct 28 16:25:50 ares virtualbox[4586]: ...fail!
Oct 28 16:25:50 ares systemd[1]: virtualbox.service: Control process exited, code=exited status=1
Oct 28 16:25:50 ares systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
Oct 28 16:25:50 ares systemd[1]: virtualbox.service: Unit entered failed state.
Oct 28 16:25:50 ares systemd[1]: virtualbox.service: Failed with result 'exit-code'.
答案1
似乎出于某种原因,在从 17.04 升级到 17.10 的过程中,内核从4.13.0-16-通用到4.13.0-16-低延迟。这可能是因为我通过 ssh 客户端而不是在系统本身上运行了升级。我没有进一步调查为什么会发生这种情况。由于这是一台新机器,我将其清除干净并安装了 17.04,然后在终端本身上升级到 17.10。