无法启动 5.x:无法获取 UEFI 数据库列表

无法启动 5.x:无法获取 UEFI 数据库列表

我目前有 Ubuntu 18.04,内核为 4.20

我尝试升级到内核 5.14 和 5.16,但它在启动时挂起。它显示消息

无法获取 UEFI 数据库列表

然后屏幕变黑。

我使用 ukuu 安装了内核。电喷。这可能是原因吗?

在此处输入图片描述

这是我通过的最后一个日志机器人journalctl -b -1 -e

Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Closed Syslog Socket.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped target Paths.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped ACPI Events Check.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped CUPS Scheduler.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Closed D-Bus System Message Bus Socket.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped target System Initialization.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopping Update UTMP about System Boot/Shutdown...
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopping Network Time Synchronization...
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped target Local Encrypted Volumes.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Apply Kernel Variables.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopping Load/Save Random Seed...
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped target Swap.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Deactivating swap /swapfile...
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Load Kernel Modules.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Network Time Synchronization.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Load/Save Random Seed.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Update UTMP about System Boot/Shutdown.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Create Volatile Files and Directories.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped target Local File Systems.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Unmounting /boot/efi...
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Unmounting /media/win/Lager...
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Unmounting /media/win/BigLager...
Jul 16 23:17:44 adam-MS-7A63 ntfs-3g[1060]: Unmounting /dev/sdc1 (Lager)
Jul 16 23:17:44 adam-MS-7A63 ntfs-3g[1077]: Unmounting /dev/sdb2 (Lager)
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Unmounted /media/win/Lager.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Unmounted /boot/efi.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Unmounted /media/win/BigLager.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped File System Check on /dev/disk/by-uuid/DE4E-B26A.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Removed slice system-systemd\x2dfsck.slice.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped target Local File Systems (Pre).
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Create Static Device Nodes in /dev.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Deactivated swap /swapfile.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Reached target Unmount All Filesystems.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Stopped Remount Root and Kernel File Systems.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Reached target Shutdown.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Reached target Final Step.
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Starting Reboot...
Jul 16 23:17:44 adam-MS-7A63 systemd[1]: Shutting down.
Jul 16 23:17:44 adam-MS-7A63 kernel: printk: systemd-shutdow: 44 output lines suppressed due to ratelimiting
Jul 16 23:17:44 adam-MS-7A63 systemd-shutdown[1]: Syncing filesystems and block devices.
Jul 16 23:17:44 adam-MS-7A63 systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Jul 16 23:17:44 adam-MS-7A63 systemd-journald[439]: Journal stopped

任何想法如何解决这一问题?

答案1

只有在升级内核后我才会开始遇到类似的错误。

这些错误似乎与尝试导入 UEFI 密钥进行安全启动有关。我的 BIOS 中没有启用安全启动,但只在 UEFI 中启动。我只需将 BIOS 中的安全启动模式设置从 更改[Customized]为即可停止错误。[Standard]

自定义设置允许您手动修改安全启动密钥。标准设置仅设置默认密钥。

注意:即使我之前在 BIOS 设置中将安全启动设置为 [禁用],这也修复了我的错误。

安全 -> 安全启动 -> 安全启动模式 -> [标准]

希望这可以帮到您和其他人。

相关内容