When can I remove old kernel versions?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
barddzen
Level 2
Level 2
Posts: 54
Joined: Wed Jan 23, 2019 4:35 pm

When can I remove old kernel versions?

Post by barddzen » Fri Sep 20, 2019 9:37 pm

Hello,

Fairly new to Linux and I have a laptop running latest version of Mint and the latest v5 kernel, but looking at the kernal tool there are like 10 versions of 4.x and various 5.x versions still listed as "installed".

At what point should I remove older versions?

User avatar
catweazel
Level 19
Level 19
Posts: 9754
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: When can I remove old kernel versions?

Post by catweazel » Fri Sep 20, 2019 9:46 pm

barddzen wrote:
Fri Sep 20, 2019 9:37 pm
At what point should I remove older versions?
If your machine is running ok, it's safe to delete all of the others, except perhaps for the last or previous version as a just in case fallback.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.

barddzen
Level 2
Level 2
Posts: 54
Joined: Wed Jan 23, 2019 4:35 pm

Re: When can I remove old kernel versions?

Post by barddzen » Fri Sep 20, 2019 9:47 pm

Thanks I was finding a lot of articles on the how but not when.

RIH
Level 4
Level 4
Posts: 488
Joined: Sat Aug 22, 2015 3:47 am

Re: When can I remove old kernel versions?

Post by RIH » Fri Sep 20, 2019 9:48 pm

Personally I remove all but the kernel that I am actually using plus the last one 1 used that worked well before that.
My thoughts being that if the latest kernel should suddenly develop issues I have 1 that was working well before to fall back onto.

If you have series 5 kernels downloaded though you must have done that manually as Mint 19.2 runs on the 4.15 series - not that matters in the scheme of things but the 5 series are not supported as long as the 4.15 series, so you need to keep an eye on that..
Aspire-TC-705 Kernel: 4.15.0-70-generic x86_64 bits: 64
compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.2.3
Distro: Linux Mint 19.2

RIH
Level 4
Level 4
Posts: 488
Joined: Sat Aug 22, 2015 3:47 am

Re: When can I remove old kernel versions?

Post by RIH » Fri Sep 20, 2019 9:51 pm

barddzen wrote:
Fri Sep 20, 2019 9:47 pm
Thanks I was finding a lot of articles on the how but not when.
The new Update Manager has a Remove Kernels Button - it lists all the old kernels & you can click a tick box for any that you do not want to remove.
kernels.png
Aspire-TC-705 Kernel: 4.15.0-70-generic x86_64 bits: 64
compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.2.3
Distro: Linux Mint 19.2

DAMIEN1307
Level 8
Level 8
Posts: 2227
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: When can I remove old kernel versions?

Post by DAMIEN1307 » Fri Sep 20, 2019 9:54 pm

The first thing i can ask is, what version of Linux Mint are you presently using, (ie LM 18.xx, 19.xx and what flavour desktop, cinnamon, mate, or xfce.).
the next question is are you running an old computer or really cutting edge up to date hardware system with the "latest and greatest" "OOOOH Shiney" stuff...General "Rule of Thumb" is to stay with the original kernel series that comes with the Original downloaded LM OS "UNLESS" you are using something so brand new in hardware that you would require usage of an HWE, (HardWare Enablement), for very new hardware kernel, versus the original LTS, (Long Term Support), kernel series...with these questions in mind, please copy and paste the following terminal codes into your "terminal" and copy and paste the results back here in the forum so to better advise you since you did not say what kernel your running on what kind of system your running...DAMIEN

System Specs.

Code: Select all

inxi -Fxz
ORDO AB CHAO

Post Reply

Return to “Installation & Boot”