Linux Lite Forums

Software - Support => Other => Topic started by: mdiemer on March 12, 2019, 03:59:50 PM

Title: Should I Remove Old Kernels?
Post by: mdiemer on March 12, 2019, 03:59:50 PM
Is there any reason I need to remove old kernels? I have Linux Lite on half of a 500 GB HDD, so it has plenty of room. I don't have a lot files either, so there is a lot of empty space. Will having several old kernels impair performance? Make it start or run slower?

I'm just afraid I'll screw the removal process up. Twice I have attempted it with Lite Tweaks, but both times I cancelled. I'm confused between the headers and the images, and how many to remove. I have 5 of them on my computer currently. I see it's recommended to remove all but the last two. But the list I am presented with is rather confusing, with all those boxes to check!

Is it true that this list does not contain the current one, so I could technically check all the boxes? Or all but the latest, which would leave me with two?
Title: Re: Should I Remove Old Kernels?
Post by: trinidad on March 12, 2019, 04:16:32 PM
Yes. All but the latest would leave you with two. Shouldn't effect performance. 
See here:
https://www.linuxliteos.com/manual/software.html#tweaks
TC
Title: Re: Should I Remove Old Kernels?
Post by: Jerry on March 13, 2019, 01:38:15 AM
Does anybody use the Manual... /sadface
Title: Re: Should I Remove Old Kernels?
Post by: mdiemer on March 13, 2019, 08:18:49 PM
Thanks guys, and I did check the manual. Sometimes that's not enough for those of us who are not techno-whizzes.
Title: Re: Should I Remove Old Kernels?
Post by: Jerry on March 14, 2019, 12:52:42 AM
You don't need to be a 'techno-wizzie' to use our Manual. It's step by step simple instruction accompanied by a picture.
Title: Re: Should I Remove Old Kernels?
Post by: mdiemer on March 14, 2019, 12:48:04 PM
Yes, and it's an excellent manual. But I am still confused by something: Can I check all the boxes in the dialog for removing kernels, and be left with the last two? Or would doing that leave me with just the last? Or, do I need to check all boxes but the last, to be left with the last two? For me that is still unclear.
Title: Re: Should I Remove Old Kernels?
Post by: firenice03 on March 14, 2019, 02:20:41 PM
Yes, and it's an excellent manual. But I am still confused by something: Can I check all the boxes in the dialog for removing kernels, and be left with the last two? Or would doing that leave me with just the last? Or, do I need to check all boxes but the last, to be left with the last two? For me that is still unclear.

@mdiemer
You want to look at the versions...
You can find your current via the terminal
Code: [Select]
uname -rThen in Lite tweaks remove anything older less what you want to keep.. (Lite Tweaks WILL NOT list your current kernel).. selecting all will only keep the current...

Example uname outputs kernel... 4.4.125
And Lite Tweaks display kernels... 4.4.124, 4.4.120, 4.4.119, 4.4.118, 4.4.115
- You can delete all but 4.4.124 to have current +1
- Delete all but 4.4.124 and 4.4.120 to have current +2

*Keep all kernel variants for that version, may have multiple listed as generic/image/header and/or the alikes (Keep all with 4.4.124 or all with 4.4.124 and 4.4.120 from the example)
Title: Re: Should I Remove Old Kernels?
Post by: mdiemer on March 14, 2019, 10:12:57 PM


@mdiemer
You want to look at the versions...
You can find your current via the terminal
Code: [Select]
uname -rThen in Lite tweaks remove anything older less what you want to keep.. (Lite Tweaks WILL NOT list your current kernel).. selecting all will only keep the current...

Example uname outputs kernel... 4.4.125
And Lite Tweaks display kernels... 4.4.124, 4.4.120, 4.4.119, 4.4.118, 4.4.115
- You can delete all but 4.4.124 to have current +1
- Delete all but 4.4.124 and 4.4.120 to have current +2

*Keep all kernel variants for that version, may have multiple listed as generic/image/header and/or the alikes (Keep all with 4.4.124 or all with 4.4.124 and 4.4.120 from the example)
Thank you very much! That really clarifies it for me. This is something I don't want to screw up, as Linux Lite is definitely a keeper for me. Don't want to do anything to mess it up!