!["적절한 설치" 후에 Debian Linux 커널이 업그레이드되지 않는 이유는 무엇입니까?](https://linux55.com/image/146526/%22%EC%A0%81%EC%A0%88%ED%95%9C%20%EC%84%A4%EC%B9%98%22%20%ED%9B%84%EC%97%90%20Debian%20Linux%20%EC%BB%A4%EB%84%90%EC%9D%B4%20%EC%97%85%EA%B7%B8%EB%A0%88%EC%9D%B4%EB%93%9C%EB%90%98%EC%A7%80%20%EC%95%8A%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-image-4.9.0-8(또는 그것)을 내 컴퓨터에 설치하고, 다시 설치하고, 수동으로 제거하고, 다시 설치하는 데 보냈습니다.데비안 9(스트레칭) 하지만 그럴 거예요.언제나(재)잘못된 버전의 Linux 3.16.0-5로 부팅했습니다.
전체 디렉토리 내용을 삭제 /boot
하고 다시 설치하기도 했습니다.
나는 독립 파티션과 /dev/sda
같은 드라이브에 표준 데비안 9 설치를 설치했습니다 ./dev/sda1
/boot
나의 목록:
- 확인됨데비안 관리 매뉴얼.
- 하드웨어에 UEFI 부트로더가 없습니다.
- imageramfs 옵션 끄기
/etc/kernel-img.conf
- 멋진 커널 모듈 없음(NVIDIA나 ATI도 아님)
apt
대신에 올바른 사용apt-get
제가 직접 접한 퍼즐 시스템입니다.
최신 디렉토리 /boot
는 다음과 같습니다.
$ ls -lat /boot
total 106000
drwxr-xr-x 23 root root 4096 Jan 17 12:25 ..
drwxr-xr-x 2 root root 4096 Jan 17 12:17 grub
drwxr-xr-x 3 root root 4096 Jan 17 12:17 .
-rw-r--r-- 1 root root 19595458 Jan 17 12:17 initrd.img-4.9.0-8-amd64
-rw-r--r-- 1 root root 19446192 Jan 17 12:08 initrd.img-4.9.0-5-amd64
-rw-r--r-- 1 root root 19587298 Nov 7 13:58 initrd.img-4.9.0-7-amd64
-rw-r--r-- 1 root root 186563 Oct 27 14:46 config-4.9.0-8-amd64
-rw-r--r-- 1 root root 3195896 Oct 27 14:46 System.map-4.9.0-8-amd64
-rw-r--r-- 1 root root 4232992 Oct 27 14:46 vmlinuz-4.9.0-8-amd64
-rw-r--r-- 1 root root 186568 Aug 13 15:31 config-4.9.0-7-amd64
-rw-r--r-- 1 root root 3192069 Aug 13 15:31 System.map-4.9.0-7-amd64
-rw-r--r-- 1 root root 4232992 Aug 13 15:31 vmlinuz-4.9.0-7-amd64
-rw-r--r-- 1 root root 19478453 Feb 19 2018 initrd.img-4.9.0-3-amd64
-rw-r--r-- 1 root root 186473 Jan 4 2018 config-4.9.0-5-amd64
-rw-r--r-- 1 root root 3185098 Jan 4 2018 System.map-4.9.0-5-amd64
-rw-r--r-- 1 root root 4216608 Jan 4 2018 vmlinuz-4.9.0-5-amd64
-rw-r--r-- 1 root root 186386 Sep 18 2017 config-4.9.0-3-amd64
-rw-r--r-- 1 root root 3180929 Sep 18 2017 System.map-4.9.0-3-amd64
-rw-r--r-- 1 root root 4204320 Sep 18 2017 vmlinuz-4.9.0-3-amd64
Linux 3.16.0-5 이미지/initramfs가 없음을 확인했습니다.
아직 실행 중uname
언제나결과 :
Linux arca 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08)
최상위 디렉터리 내용과 해당 심볼릭 링크도 정확합니다.
# ls -lat /
total 112
drwxrwxrwt 14 root root 11264 Jan 17 13:15 tmp
drwxr-xr-x 33 root root 1080 Jan 17 12:46 run
drwxr-xr-x 19 root root 3480 Jan 17 12:45 dev
drwxr-xr-x 178 root root 12288 Jan 17 12:45 etc
dr-xr-xr-x 13 root root 0 Jan 17 12:44 sys
dr-xr-xr-x 195 root root 0 Jan 17 12:44 proc
drwx------ 36 root root 4096 Jan 17 12:44 root
drwxr-xr-x 23 root root 4096 Jan 17 12:25 .
drwxr-xr-x 23 root root 4096 Jan 17 12:25 ..
drwxr-xr-x 3 root root 4096 Jan 17 12:17 boot
drwxr-xr-x 2 root root 12288 Jan 17 11:27 sbin
drwxrwxr-x 2 root root 4096 Jan 17 11:27 bin
lrwxrwxrwx 1 root root 29 Nov 7 13:56 initrd.img -> boot/initrd.img-4.9.0-8-amd64
lrwxrwxrwx 1 root root 29 Nov 7 13:56 initrd.img.crap -> boot/initrd.img-4.9.0-7-amd64
lrwxrwxrwx 1 root root 26 Nov 7 13:56 vmlinuz -> boot/vmlinuz-4.9.0-8-amd64
lrwxrwxrwx 1 root root 26 Nov 7 13:56 vmlinuz.crap.4.9.0.7 -> boot/vmlinuz-4.9.0-7-amd64
drwxr-xr-x 6 root root 4096 Oct 11 17:01 opt
drwxr-xr-x 20 root root 4096 Oct 10 16:52 lib
drwxr-xr-x 3 root root 4096 Oct 10 16:34 srv
drwxr-xr-x 8 root root 4096 Sep 5 13:34 home
drwxr-xr-x 13 root root 4096 Mar 17 2018 var
drwxr-xr-x 2 root root 4096 Mar 17 2018 lib64
drwxr-xr-x 7 root root 4096 Feb 19 2018 media
drwxr-xr-x 2 root root 4096 Feb 19 2018 debootstrap
drwxr-xr-x 10 root root 4096 May 16 2017 usr
drwxr-xr-x 2 root root 4096 Oct 8 2016 mnt
drwx------ 2 root root 16384 Oct 8 2016 lost+found
부팅 파티션에도 레이블이 올바르게 지정되어 sda1
있습니다 ./boot
# fdisk /dev/sda
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xfa4b1728
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 1953523711 1953021954 931.3G 5 Extended
/dev/sda5 501760 1953523711 1953021952 931.3G 8e Linux LVM
Partition 2 does not start on physical sector boundary.
Command (m for help): quit
답변1
아마도 UEFI를 사용하고 있고 /boot
부트로더는 나열된 디렉터리가 아니라 마운트 해제된 vfat 파티션을 사용하고 있을 수 있습니다. 별도의 파티션이 /etc/fstab
있는 경우 커널을 업그레이드하기 전에 체크인하십시오./boot
mount /boot
수동으로 설치하지 않으려면 해당 줄에서 /boot
해당 옵션을 제거하십시오.noauto
/etc/fstab