几个月前,我在我的两台机器上从 20.04 LTS 升级到了 22.04 LTS;我在 /boot 中看到了以下内容:
total 275864
drwxr-xr-x 5 root root 4096 Feb 26 06:51 .
drwxr-xr-x 20 root root 4096 Sep 29 2014 ..
-rw-r--r-- 1 root root 262228 Feb 7 12:44 config-5.15.0-133-generic
-rw-r--r-- 1 root root 287013 Jan 15 11:27 config-6.8.0-52-generic
drwx------ 2 root root 4096 Dec 31 1969 efi
drwxr-xr-x 4 root root 4096 Feb 26 06:51 grub
lrwxrwxrwx 1 root root 29 Feb 26 06:48 initrd.img -> initrd.img-5.15.0-133-generic
-rw-r--r-- 1 root root 114000628 Feb 26 06:49 initrd.img-5.15.0-133-generic
-rw-r--r-- 1 root root 125713060 Feb 18 06:35 initrd.img-6.8.0-52-generic
lrwxrwxrwx 1 root root 27 Feb 26 06:48 initrd.img.old -> initrd.img-6.8.0-52-generic
drwx------ 2 root root 16384 Nov 26 2020 lost+found
-rw-r--r-- 1 root root 182800 Feb 6 2022 memtest86+.bin
-rw-r--r-- 1 root root 184476 Feb 6 2022 memtest86+.elf
-rw-r--r-- 1 root root 184980 Feb 6 2022 memtest86+_multiboot.bin
-rw------- 1 root root 6295053 Feb 7 12:44 System.map-5.15.0-133-generic
-rw------- 1 root root 8667805 Jan 15 11:27 System.map-6.8.0-52-generic
lrwxrwxrwx 1 root root 26 Feb 26 06:48 vmlinuz -> vmlinuz-5.15.0-133-generic
-rw------- 1 root root 11711400 Feb 7 13:12 vmlinuz-5.15.0-133-generic
-rw------- 1 root root 14928264 Jan 15 11:51 vmlinuz-6.8.0-52-generic
lrwxrwxrwx 1 root root 24 Feb 26 06:48 vmlinuz.old -> vmlinuz-6.8.0-52-generic
uname -r 返回:
6.8.0-52-generic
执行 sudo apt update 和 upgrade 时,版本 5.15 已更新(执行了 sudo apt autoremove 以删除旧版本,上面未显示)。知道为什么更新了这些内容吗?vmlinuz.old 指的是 6.8.0-52,但我当前的内核是 6.8.0-52?