![Linux 커널을 최신 버전 5.16으로 업데이트할 수 없는 이유는 무엇입니까?](https://linux55.com/image/205358/Linux%20%EC%BB%A4%EB%84%90%EC%9D%84%20%EC%B5%9C%EC%8B%A0%20%EB%B2%84%EC%A0%84%205.16%EC%9C%BC%EB%A1%9C%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%A0%20%EC%88%98%20%EC%97%86%EB%8A%94%20%EC%9D%B4%EC%9C%A0%EB%8A%94%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
최신 Linux 이미지를 설치합니다.
sudo apt install linux-image-5.16.0-0.bpo.3-amd64
설치 후 모든 Linux 이미지를 나열합니다.
sudo dpkg --get-selections | grep linux-image
linux-image-5.10.0-10-amd64 deinstall
linux-image-5.10.0-11-amd64 install
linux-image-5.10.0-12-amd64 deinstall
linux-image-5.10.0-13-amd64 install
linux-image-5.10.0-8-amd64 deinstall
linux-image-5.10.0-9-amd64 deinstall
linux-image-5.16.0-0.bpo.3-amd64 install
linux-image-amd64 deinstall
재부팅하고 커널을 확인합니다.
sudo uname -r
5.10.0-11-amd64
내 커널을 업데이트할 수 없는 이유는 무엇입니까 5.16
?
내 OS에 대한 자세한 정보를 게시합니다.
GRUB 정보
cat /etc/kernel/postinst.d/zz-update-grub
#! /bin/sh
set -e
which update-grub >/dev/null 2>&1 || exit 0
if type systemd-detect-virt >/dev/null 2>&1 &&
systemd-detect-virt --quiet --container; then
exit 0
fi
set -- $DEB_MAINT_PARAMS
mode="${1#\'}"
mode="${mode%\'}"
case $0:$mode in
# Only run on postinst configure and postrm remove, to avoid wasting
# time by calling update-grub multiple times on upgrade and removal.
# Also run if we have no DEB_MAINT_PARAMS, in order to work with old
# kernel packages.
*/postinst.d/*:|*/postinst.d/*:configure|*/postrm.d/*:|*/postrm.d/*:remove)
if [ -e /boot/grub/grub.cfg ]; then
exec update-grub
fi
;;
esac
exit 0
버전
uname -a
Linux debian 5.10.0-11-amd64 #1 SMP Debian 5.10.92-2 (2022-02-28) x86_64 GNU/Linux
고정 여부:
sudo grub-editenv list
nothing output
그럽 업데이트
sudo update-grub
터미널을 다시 시작합니다.
uname -r
5.10.0-11-amd64
5.16
관련 패키지:
ls /boot
config-5.10.0-11-amd64 efi initrd.img-5.10.0-13-amd64 System.map-5.10.0-13-amd64 vmlinuz-5.10.0-13-amd64
config-5.10.0-13-amd64 grub initrd.img-5.16.0-0.bpo.3-amd64 System.map-5.16.0-0.bpo.3-amd64 vmlinuz-5.16.0-0.bpo.3-amd64
config-5.16.0-0.bpo.3-amd64 initrd.img-5.10.0-11-amd64 System.map-5.10.0-11-amd64 vmlinuz-5.10.0-11-amd64
그리고 내grub.cfg 파일.
grub 메뉴에서 볼 수 있는데
initrd.img-5.16.0-0.bpo.3-amd64
왜 OS가 부팅 시 호출할 수 없나요?