In this output I see that I am using Kernel version 3.16.
Code: Select all
# uname -a
Linux pc 3.16.6-042stab127.46 #1 SMP Wed Mar 28 01:57:40 CEST 2018 x86_64 GNU/Linux
Code: Select all
# apt search linux-image
linux-headers-4.17.0-0.bpo.1-amd64/stretch-backports 4.17.8-1~bpo9+1 amd64
Header files for Linux 4.17.0-0.bpo.1-amd64
linux-headers-4.17.0-0.bpo.1-cloud-amd64/stretch-backports 4.17.8-1~bpo9+1 amd64
Header files for Linux 4.17.0-0.bpo.1-cloud-amd64
linux-headers-4.9.0-3-amd64/stable 4.9.30-2+deb9u5 amd64
Header files for Linux 4.9.0-3-amd64
linux-headers-4.9.0-3-rt-amd64/stable 4.9.30-2+deb9u5 amd64
Header files for Linux 4.9.0-3-rt-amd64
linux-headers-4.9.0-4-amd64/stable 4.9.65-3+deb9u1 amd64
Header files for Linux 4.9.0-4-amd64
linux-headers-4.9.0-4-grsec-amd64/stretch-backports 4.9.65-2+grsecunoff1~bpo9+1 amd64
Header files for Linux 4.9.0-4-grsec-amd64
linux-headers-4.9.0-4-rt-amd64/stable 4.9.65-3+deb9u1 amd64
Header files for Linux 4.9.0-4-rt-amd64
linux-headers-4.9.0-5-amd64/stable 4.9.65-3+deb9u2 amd64
Header files for Linux 4.9.0-5-amd64
linux-headers-4.9.0-5-rt-amd64/stable 4.9.65-3+deb9u2 amd64
Header files for Linux 4.9.0-5-rt-amd64
linux-headers-4.9.0-6-amd64/stable 4.9.88-1+deb9u1 amd64
Header files for Linux 4.9.0-6-amd64
linux-headers-4.9.0-6-rt-amd64/stable 4.9.88-1+deb9u1 amd64
Header files for Linux 4.9.0-6-rt-amd64
linux-headers-4.9.0-7-amd64/stable 4.9.110-3+deb9u2 amd64
Header files for Linux 4.9.0-7-amd64
linux-headers-4.9.0-7-rt-amd64/stable 4.9.110-3+deb9u2 amd64
Header files for Linux 4.9.0-7-rt-amd64
linux-image-4.17.0-0.bpo.1-amd64/stretch-backports,now 4.17.8-1~bpo9+1 amd64 [installed]
Linux 4.17 for 64-bit PCs
linux-image-4.17.0-0.bpo.1-amd64-dbg/stretch-backports 4.17.8-1~bpo9+1 amd64
Debug symbols for linux-image-4.17.0-0.bpo.1-amd64
linux-image-4.17.0-0.bpo.1-cloud-amd64/stretch-backports 4.17.8-1~bpo9+1 amd64
Linux 4.17 for x86-64 cloud
linux-image-4.17.0-0.bpo.1-cloud-amd64-dbg/stretch-backports 4.17.8-1~bpo9+1 amd64
Debug symbols for linux-image-4.17.0-0.bpo.1-cloud-amd64
linux-image-4.9.0-3-amd64/stable 4.9.30-2+deb9u5 amd64
Linux 4.9 for 64-bit PCs
linux-image-4.9.0-3-amd64-dbg/stable 4.9.30-2+deb9u5 amd64
Debug symbols for linux-image-4.9.0-3-amd64
linux-image-4.9.0-3-rt-amd64/stable 4.9.30-2+deb9u5 amd64
Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-3-rt-amd64-dbg/stable 4.9.30-2+deb9u5 amd64
Debug symbols for linux-image-4.9.0-3-rt-amd64
linux-image-4.9.0-4-amd64/stable 4.9.65-3+deb9u1 amd64
Linux 4.9 for 64-bit PCs
linux-image-4.9.0-4-amd64-dbg/stable 4.9.65-3+deb9u1 amd64
Debug symbols for linux-image-4.9.0-4-amd64
linux-image-4.9.0-4-grsec-amd64/stretch-backports 4.9.65-2+grsecunoff1~bpo9+1 amd64
Linux 4.9 for 64-bit PCs, Grsecurity protection (unofficial patch)
linux-image-4.9.0-4-rt-amd64/stable 4.9.65-3+deb9u1 amd64
Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-4-rt-amd64-dbg/stable 4.9.65-3+deb9u1 amd64
Debug symbols for linux-image-4.9.0-4-rt-amd64
linux-image-4.9.0-5-amd64/stable 4.9.65-3+deb9u2 amd64
Linux 4.9 for 64-bit PCs
linux-image-4.9.0-5-amd64-dbg/stable 4.9.65-3+deb9u2 amd64
Debug symbols for linux-image-4.9.0-5-amd64
linux-image-4.9.0-5-rt-amd64/stable 4.9.65-3+deb9u2 amd64
Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-5-rt-amd64-dbg/stable 4.9.65-3+deb9u2 amd64
Debug symbols for linux-image-4.9.0-5-rt-amd64
linux-image-4.9.0-6-amd64/stable 4.9.88-1+deb9u1 amd64
Linux 4.9 for 64-bit PCs
linux-image-4.9.0-6-amd64-dbg/stable 4.9.88-1+deb9u1 amd64
Debug symbols for linux-image-4.9.0-6-amd64
linux-image-4.9.0-6-rt-amd64/stable 4.9.88-1+deb9u1 amd64
Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-6-rt-amd64-dbg/stable 4.9.88-1+deb9u1 amd64
Debug symbols for linux-image-4.9.0-6-rt-amd64
linux-image-4.9.0-7-amd64/stable,now 4.9.110-3+deb9u2 amd64 [installed,automatic]
Linux 4.9 for 64-bit PCs
linux-image-4.9.0-7-amd64-dbg/stable 4.9.110-3+deb9u2 amd64
Debug symbols for linux-image-4.9.0-7-amd64
linux-image-4.9.0-7-rt-amd64/stable 4.9.110-3+deb9u2 amd64
Linux 4.9 for 64-bit PCs, PREEMPT_RT
linux-image-4.9.0-7-rt-amd64-dbg/stable 4.9.110-3+deb9u2 amd64
Debug symbols for linux-image-4.9.0-7-rt-amd64
linux-image-amd64/stable,now 4.9+80+deb9u5 amd64 [installed]
Linux pre 64-bitové PC - metabalík
linux-image-amd64-dbg/stable 4.9+80+deb9u5 amd64
Debugging symbols for Linux amd64 configuration (meta-package)
linux-image-cloud-amd64/stretch-backports 4.17+95~bpo9+1 amd64
Linux for x86-64 cloud (meta-package)
linux-image-cloud-amd64-dbg/stretch-backports 4.17+95~bpo9+1 amd64
Debugging symbols for Linux cloud-amd64 configuration (meta-package)
linux-image-grsec-amd64/stretch-backports 13~bpo9+1 amd64
Linux image meta-package, grsec featureset
linux-image-rt-amd64/stable 4.9+80+deb9u5 amd64
Linux for 64-bit PCs (meta-package), PREEMPT_RT
linux-image-rt-amd64-dbg/stable 4.9+80+deb9u5 amd64
Debugging symbols for Linux rt-amd64 configuration (meta-package)
Code: Select all
# apt search linux-image | grep installed
linux-image-4.17.0-0.bpo.1-amd64/stretch-backports,now 4.17.8-1~bpo9+1 amd64 [installed]
linux-image-4.9.0-7-amd64/stable,now 4.9.110-3+deb9u2 amd64 [installed,automatic]
linux-image-amd64/stable,now 4.9+80+deb9u5 amd64 [installed]
Can you tell me how to correctly switch (install and boot automatically) to the latest (supported) kernel? And how to remove unused installed kernels?