Running hwe what is correct way to remove 5.4 kernel

Kaj Haulrich kaj at haulrich.net
Thu Dec 1 16:29:31 UTC 2022


On 01.12.2022 13.54, Jerry Geis wrote:
> I am running hwe on 20.04 what is the correct way to remove the 5.4 kernel.
> It just takes time when doing updates to regenerate initrd

Easy way:
First, run 'uname -r' to verify your working kernel version.
Then, run 'sudo update-grub' to find the version number of the unwanted 
kernel.
Finally, install synaptic and run it. Type the exact kernel-version and 
mark it for complete removal. Apply. No need to update grub afterwards.

Kaj Haulrich.

-- 
Sent from my 100% Microsoft-free workstation.
      Running Linux Kubuntu 23.04



More information about the ubuntu-users mailing list