ubuntu 编译5.15 内核不能启动
如下 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
相关推荐
Ubuntu 切换系统默认启动内核
1.首先找到内核名称。 grep menuentry /boot/grub/grub.cfg 例如我的最后显示如下,复制所要的内核名称(例如我需要的Ubuntu,Linux 4.15.0-29-generic)。 if [ x${feature_menuentry_id} = xy ]; then menuentry_id_option=--id menuentry_id_option= export menuentry_id_option menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu -
Ubuntu18.04上编译和切换Linux内核版本
Ubuntu18.04编译和切换Linux内核版本 编译内核 内核版本 linux-5.2.5.tar.xz 安装依赖项 sudo apt-get install build-essential sudo apt-get install libncurses5-dev sudo apt-get install flex sudo apt-get install bison sudo apt-get install libssl-dev 编译 1.cd内核源代码目录/ 2.make mrproper //清除编译过程中产生的所有中间文件 3.make clean //清除上一
修改ubuntu开机启动项顺序 grub设置 删除多余内核
修改ubuntu开机启动项顺序 grub设置 删除多余内核
Ubuntu 安装编译内核步骤
Ubuntu 9.10下安装编译新内核,可以适用于9.10外的多种版本
Ubuntu手动更新内核终极教程(快速编译更新你能行)
本教程在参考网上众多资料的基础上经过反复多次测试,最终得到升级的捷径,想手动升级内核的绝对很有必要看一看!



