How to install old kernel?

It's me again. My laptop is Alienware Area 51m laptop. My OS is Zorin OS 16 Pro.

Recently I realized that after I upgraded my kernel to 5.13.0-35(or 37), the kernel can not boot. The screen become black when loading the kernel. I have tried adding some parameters in the boot command in grub as below but still in vain.

method1: add nomodeset
method2: adding noapic noacpi nosplash irqpoll instead of quiet splash

However, the kernel can be booted in VMWare workstation without any extra parameters

Anyway, now I want to use old kernel which is 5.13.0-28 because it could work with the laptop. However,it was already purged by using the command

sudo apt autoremove

So, could someone show me how to install the 5.13.0-28 kernel (also including the depenedent packages) and make sure it will not be purged again when using the command 'sudo apt autoremove'

Many thanks

It won't be, as by installing it this way, it will be set to "manually installed." Only auto-installed are subject to autoremove.

sudo apt install linux-headers-5.13.0-28-generic linux-modules-5.13.0-28-generic linux-modules-extra-5.13.0-28-generic linux-image-5.13.0-28-generic

If necessary, please see here:

1 Like

Eventually, I realized that the problem should be on linux firmware, not linux kernel.

I tried re-installing a clean Zorin OS Pro 16.1 and make sure it could work in Alienware 51M without any upgrade. But after I executed sudo apt update; sudo apt upgrade, Zorin OS appeared black screen while booting.

After some tests, I found if I skipped the upgrade of linux firmware, then even linux kernel 5.13.0-37 could boot successfully and enter desktop.

My current linux fimware is:

dpkg -l | grep firmware
ii  amd64-microcode          3.20191218.1ubuntu1            amd64        Processor microcode firmware for AMD CPUs
ii  intel-microcode          3.20210608.0ubuntu0.20.04.1    amd64        Processor microcode firmware for Intel CPUs
ii  linux-firmware           1.187.27                       all          Firmware for Linux kernel drivers

The upgradable firmware is:

sudo apt list --upgradable 
Listing... Done
fwupd/focal-updates 1.7.5-3~20.04.1 amd64 [upgradable from: 1.5.11-0ubuntu1~20.04.2]
libfwupd2/focal-updates 1.7.5-3~20.04.1 amd64 [upgradable from: 1.5.11-0ubuntu1~20.04.2]
linux-firmware/focal-updates,focal-updates 1.187.29 all [upgradable from: 1.187.27]

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.