双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

ubuntu 编译5.15 内核不能启动

ljp9405312 ljp9405312 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

如下 vmlinuz-5.15.0-94-generic 内核可以启动,自己编译的  vmlinuz-5.15.148 启动不了,

  vmlinuz-5.15.148 使用  initrd.img-5.15.0-94-generic 的 ramdisk  可以启动到ramdisk 但是不能启动磁盘 根文件系统 

 vmlinuz-5.15.148  编译沿用 vmlinuz-5.15.0-94-generic  配置, 只有几个认证的为空 如下:
# Certificates for signature checking
#
CONFIG_MODULE_SIG_KEY=""

 

ubuntu boot 启动目录各内核文件:

total 1056780
-rw-r--r-- 1 root root    254083 11月 10  2021 config-5.11.0-41-generic
-rw-r--r-- 1 root root    262305 1月  16 21:17 config-5.15.0-94-generic
-rw-r--r-- 1 root root    260080 2月  15 09:55 config-5.15.148
-rw-r--r-- 1 root root    260101 2月  15 09:00 config-5.15.148.old
-rw-r--r-- 1 root root    236693 2月  14 10:51 config-5.4.259
drwx------ 2 root root      4096 1月   1  1970 efi
drwxr-xr-x 4 root root      4096 2月  15 09:56 grub
lrwxrwxrwx 1 root root        28 2月  14 12:02 initrd.img -> initrd.img-5.15.0-94-generic
-rw-r--r-- 1 root root  59060489 2月  14 11:52 initrd.img-5.11.0-41-generic
-rw-r--r-- 1 root root  68086734 2月  14 12:03 initrd.img-5.15.0-94-generic
-rw-r--r-- 1 root root 856468663 2月  15 10:40 initrd.img-5.15.148
-rw-r--r-- 1 root root  14250145 2月  14 10:51 initrd.img-5.4.259
lrwxrwxrwx 1 root root        18 2月  14 12:02 initrd.img.old -> initrd.img-5.4.259
-rw-r--r-- 1 root root    182704 2月  14  2020 memtest86+.bin
-rwxrwxrwx 1 root root    184380 2月  14  2020 memtest86+.elf
-rw-r--r-- 1 root root    184884 2月  14  2020 memtest86+_multiboot.bin
-rw------- 1 root root   5864035 11月 10  2021 System.map-5.11.0-41-generic
-rw------- 1 root root   6246098 1月  16 21:17 System.map-5.15.0-94-generic
-rw-r--r-- 1 root root   6207371 2月  15 09:55 System.map-5.15.148
-rw-r--r-- 1 root root   6207371 2月  15 09:00 System.map-5.15.148.old
-rw-r--r-- 1 root root   4734719 2月  14 10:51 System.map-5.4.259
lrwxrwxrwx 1 root root        16 2月  15 09:55 vmlinuz -> vmlinuz-5.15.148
-rw------- 1 root root  11744992 11月 10  2021 vmlinuz-5.11.0-41-generic
-rw------- 1 root root  11525480 1月  16 21:19 vmlinuz-5.15.0-94-generic
-rw-r--r-- 1 root root  10171136 2月  15 09:55 vmlinuz-5.15.148
-rw-r--r-- 1 root root  10170624 2月  15 09:00 vmlinuz-5.15.148.old
-rw-r--r-- 1 root root   9509760 2月  14 10:51 vmlinuz-5.4.259
lrwxrwxrwx 1 root root        20 2月  15 09:55 vmlinuz.old -> vmlinuz-5.15.148.old
 

...全文
评论
收藏 已收藏
分享
返回顶部