[Seek Help] 20.8内核6.1.12/6.1.9安装失败
Tofloor
default avatar
华芯
deepin
2023-03-11 22:18
Author

20.8尝试安装6.1.12和6.1.9内核,安装的时候终端有部分报错,重启无法用新的安装内核进入系统。开机界面显示:您需要先加载内核。先后安装两个不同的内核,情况都一样。只能照样使用旧的内核进入系统。请问是什么原因呢?如何解决?谢谢!

安装信息如下:

sudo apt update && sudo apt install linux-image-6.1.12 linux-headers-6.1.12
请输入密码:
验证成功
命中:1 https://community-packages.deepin.com/deepin apricot InRelease
命中:2 https://proposed-packages.deepin.com/dde-apricot unstable InRelease
命中:3 https://community-packages.deepin.com/driver driver InRelease
命中:4 https://pro-driver-packages.uniontech.com eagle InRelease
命中:6 https://community-packages.deepin.com/printer eagle InRelease
命中:5 https://home-store-img.uniontech.com/230310171814429/appstore deepin InRelease
命中:7 https://repo.steampowered.com/steam stable InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
所有软件包均为最新。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
linux-headers-6.1.12 linux-image-6.1.12
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 80.4 MB 的归档。
解压缩后会消耗 398 MB 的额外空间。
获取:1 https://proposed-packages.deepin.com/dde-apricot unstable/main amd64 linux-headers-6.1.12 amd64 6.1.12-1 [8,930 kB]
获取:2 https://proposed-packages.deepin.com/dde-apricot unstable/main amd64 linux-image-6.1.12 amd64 6.1.12-1 [71.5 MB]
已下载 80.4 MB,耗时 37秒 (2,188 kB/s)
正在选中未选择的软件包 linux-headers-6.1.12。
(正在读取数据库 ... 系统当前共安装有 279348 个文件和目录。)
准备解压 .../linux-headers-6.1.12_6.1.12-1_amd64.deb ...
正在解压 linux-headers-6.1.12 (6.1.12-1) ...
正在选中未选择的软件包 linux-image-6.1.12。
准备解压 .../linux-image-6.1.12_6.1.12-1_amd64.deb ...
正在解压 linux-image-6.1.12 (6.1.12-1) ...
正在设置 linux-headers-6.1.12 (6.1.12-1) ...
正在设置 linux-image-6.1.12 (6.1.12-1) ...
Error! Bad return status for module build on kernel: 6.1.12 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
update-initramfs: Generating /boot/initrd.img-6.1.12
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
setupcon is missing. Please install the 'console-setup' package.
W: Possible missing firmware /lib/firmware/i915/dg1_huc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_guc_70.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_70.bin for module i915
W: Possible missing firmware /lib/firmware/i915/adlp_guc_70.1.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/adlp_guc_70.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg2_guc_70.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg2_dmc_ver2_07.bin for module i915
I: The initramfs will attempt to resume from /dev/sda4
I: (UUID=afd5a6f1-64a3-41bf-be03-ba71733c7de5)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.
fix systemd/logind config
get rootb uuid error: failed to get "rootb" uuid
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
找到 Linux 镜像:/boot/vmlinuz-6.1.12
找到 initrd 镜像:/boot/initrd.img-6.1.12
找到 Linux 镜像:/boot/vmlinuz-6.1.9
找到 initrd 镜像:/boot/initrd.img-6.1.9
找到 Linux 镜像:/boot/vmlinuz-5.18.17-amd64-desktop-community-hwe
找到 initrd 镜像:/boot/initrd.img-5.18.17-amd64-desktop-community-hwe
找到 Windows Boot Manager 位于 /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
完成

启动报错页面如下:


截图_选择区域_20230311221521.png

截图_选择区域_20230311221527.png

系统信息如下:

截图_dde-control-center_20230311221405.png

Reply Favorite View the author
All Replies
华芯
deepin
2023-03-11 22:20
#1

tail

Reply View the author
Ziggy
deepin
2023-03-11 23:26
#2

只是不支持安全启动,只有维护的lts或hwe才是支持安全启动

Reply View the author
青稚
deepin
2023-03-12 10:08
#3

把安全启动关了,试试看能不能启动,话说你用高版本内核干嘛?

功能不正常吗?

Reply View the author
晚秋(lateautumn)
Moderator
2023-03-12 10:13
#4

坐等坛主解决了之后,我也升级试试joy

Reply View the author
安洛
deepin
2023-03-12 10:44
#5

关闭安全启动,或者自己对新内核签名。

Reply View the author
忘记、过去
deepin
2023-03-12 11:40
#6

安装内核时提示 broadcom-sta 驱动模块编译失败,博通网卡的驱动需要用 Debian 11/12 仓库的版本才能在 6.0 内核编译通过

Reply View the author
deepin_xjp
deepin
2023-03-12 12:58
#7

等待稳定版……

Reply View the author
华芯
deepin
2023-03-12 13:28
#8
青稚

把安全启动关了,试试看能不能启动,话说你用高版本内核干嘛?

功能不正常吗?

也没啥不正常,就是尝尝鲜。joy

Reply View the author
华芯
deepin
2023-03-12 13:28
#9
Ziggy

只是不支持安全启动,只有维护的lts或hwe才是支持安全启动

好的,谢谢。

Reply View the author
华芯
deepin
2023-03-12 13:29
#10
安洛

关闭安全启动,或者自己对新内核签名。

怎么样才能自己对新内核签名?

Reply View the author
zxhzhou
deepin
2023-03-12 13:50
#11

我升级到6.1.1也是这样,把安全启动关了,就行了

Reply View the author
青稚
deepin
2023-03-12 14:00
#12
忘记、过去

安装内核时提示 broadcom-sta 驱动模块编译失败,博通网卡的驱动需要用 Debian 11/12 仓库的版本才能在 6.0 内核编译通过

博通的网卡,在windows下,我安装对了,驱动windows不干了,不让用,提示不兼容,装linux就好使,ubuntu20.04不能用无线网卡,deepin都可以,不知道为啥,博通的东西古怪。

joy

Reply View the author
华芯
deepin
2023-03-12 14:46
#13
zxhzhou

我升级到6.1.1也是这样,把安全启动关了,就行了

OK ,謝謝

Reply View the author
WangZhongyun
deepin
2023-03-12 19:51
#14

我原来升级到6.*内核,但显卡分辨率搞不好,就又卸了

Reply View the author
安洛
deepin
2023-03-12 20:32
#15
华芯

怎么样才能自己对新内核签名?

一般来说,如果你不希望清除机器本身的密钥的话,那么你需要生成一个MOK(机器所有者密钥),然后将这个密钥导入bios,之后就能通过这个密钥对启动软件,包括启动加载器和内核等进行签名。之后就能启动这些经过签名的东西,而没有经过签名的就无法启动。

Reply View the author
华芯
deepin
2023-04-28 20:51
#16
安洛

一般来说,如果你不希望清除机器本身的密钥的话,那么你需要生成一个MOK(机器所有者密钥),然后将这个密钥导入bios,之后就能通过这个密钥对启动软件,包括启动加载器和内核等进行签名。之后就能启动这些经过签名的东西,而没有经过签名的就无法启动。

谢谢

Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG