[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Need clarifications about how to deal with the installed problematic kernel, linux-image-6.1.0-14-amd64 (6.1.64-1)



Hi,

I am using Debian Bookworm, the current stable release with the whole SSD being encrypted with LUKS2. After decryption, the file system of the logical volume is ext4.

This is what happened to my computer many hours ago.

My device upgraded to the latest kernel, linux-image-6.1.0-14-amd64 and rebooted.

A few hours later, Debian put out an advisory warning its users against upgrading to linux-image-6.1.0-14-amd64, by which time it was too late for me.

According to some people on social media, I should boot using the previous kernel, linux-image-6.1.0-13-amd64, which is problem-free.

Question #1

I power up my device and upon seeing the GRUB menu, I highlight "Advance options for Debian GNU/Linux" and press Enter.

I highlight linux-image-6.1.0-13-amd64 and press Enter.

After supply the decryption password and entering my desktop environment, I did the following:

cat /etc/debian_user
*Result* is 12.3, even though I boot using the previous kernel, linux-image-6.1.0-13-amd64

uname -a
*Result* is linux-image-6.1.0-13-amd64

I remove the corrupt linux-image-6.1.0-14-amd64 by typing the following commands in a terminal. They are:

dpkg --search /boot/vmlinuz-*

sudo apt-get remove linux-image-6.1.0-14-amd64

sudo update-grub

sudo shutdown -r now

Is the above the correct way to remove the most recent/latest kernel?

Question #2a

Some users opine that after removing linux-image-6.1.0-14-amd64, I should re-install linux-image-6.1.0-13-amd64. Why should I re-install linux-image-6.1.0-1-amd64?

Am I right to state that Debian keeps the three recent kernels, including linux-image-6.1.0-14-amd64, for situations such as this one? (The situation in which a corrupt linux-image-6.1.0-14-amd64 was pushed to the repos for users to upgrade)

Question #2b

Suppose I need to re-install linux-image-6.1.0-13-amd64 but some users told me that it is no longer in the repos.

I can just download it manually by using the following link:

https://packages.debian.org/bookworm/amd64/linux-image-6.1.0-13-amd64/download

And then in a terminal, I type the commands:

sudo dpkg -i linux-image-6.1.0-13-amd64

sudo update-grub

sudo shutdown -r now

Is the above the correct way to install kernels that are not in the official repos?

Thanks for taking the time and effort to clarify my doubts.

Best regards.

Stella



Reply to: