clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
520 stars 29 forks source link

Sticky old Kernels at boot after kernel-native update #2137

Open hsehdar opened 3 years ago

hsehdar commented 3 years ago

After every update of kernel-native it leaves behind old kernels at boot. Manual removal of them necessitates. This wasn't the case earlier I suppose.

lebensterben commented 3 years ago

Have you recently installed another OS?

hsehdar commented 3 years ago

No other OS. Only ClearLinux desktop installed. I've been updating manually every release swupd comes up with.

lebensterben commented 3 years ago

I started having this problem in February, after I installed another OS.

hsehdar commented 3 years ago

Update of latest test:

  1. Install Clear Linux 33590 using live desktop ISO from a USB drive.
  2. Boot and login.
  3. Upgrade to the latest 33780.
  4. Two kernels exists.
miguelinux commented 3 years ago

Clear Linux keeps the latest good boot kernel to be used in case the new one doesn't boot.

hsehdar commented 3 years ago

Thanks @miguelinux for the reply. Was this a known change. May I close that it is as not a bug and it's a feature?

hsehdar commented 3 years ago

And surprising is it keeps many kernels which means many good boot kernels.

miguelinux commented 3 years ago

You can run sudo clr-boot-manager update to clean all the old kernels, and with sudo clr-boot-manager list-kernels you can review your current kernel boot list.

hsehdar commented 3 years ago

@miguelinux Thank you very much for the reply. The commands you have given are manually executed after this bug started occurring. Questions are:

  1. Why was it getting cleaned earlier? I had not seen more than one kernel as boot option.
  2. If CL team had taken decision to keep the latest good boot kernel then why is this issue not being closed by them by way of rejection - this is the design.