Cannot boot with current kernel
by no-windose from LinuxQuestions.org on (#5SFV0)
I cannot boot Linux with the current 5.10 kernel even though it is available on my system.
Code:# dpkg-query -S vmlinuz
linux-image-5.10.0-9-amd64: /boot/vmlinuz-5.10.0-9-amd64
linux-image-4.9.0-12-amd64: /boot/vmlinuz-4.9.0-12-amd64
#
# uname -r
4.9.0-12-amd64
#If I try to install kernel 5.10, I get the following warning:
Code:# apt install linux-image-5.10.0-9-amd64
You are running a kernel (version 4.9.0-12-amd64) and attempting to remove the same version. This can make the system unbootable as it will remove /boot/vmlinuz-4.9.0-12-amd64 and all modules under the directory /lib/modules/4.9.0-12-amd64. This can only be fixed with a copy of the kernel image and the corresponding modules. It is highly recommended to abort the kernel removal unless you are prepared to fix the system after removal.
Abort kernel removal?Usually, when I upgrade with apt update && apt upgrade, I get regular kernel updates and I automatically reboot to the newest kernel without getting such a warning.
Does anyone know why I am getting this warning?
Code:# dpkg-query -S vmlinuz
linux-image-5.10.0-9-amd64: /boot/vmlinuz-5.10.0-9-amd64
linux-image-4.9.0-12-amd64: /boot/vmlinuz-4.9.0-12-amd64
#
# uname -r
4.9.0-12-amd64
#If I try to install kernel 5.10, I get the following warning:
Code:# apt install linux-image-5.10.0-9-amd64
You are running a kernel (version 4.9.0-12-amd64) and attempting to remove the same version. This can make the system unbootable as it will remove /boot/vmlinuz-4.9.0-12-amd64 and all modules under the directory /lib/modules/4.9.0-12-amd64. This can only be fixed with a copy of the kernel image and the corresponding modules. It is highly recommended to abort the kernel removal unless you are prepared to fix the system after removal.
Abort kernel removal?Usually, when I upgrade with apt update && apt upgrade, I get regular kernel updates and I automatically reboot to the newest kernel without getting such a warning.
Does anyone know why I am getting this warning?