Hi,
I created new initrd and now I need to remove old kernels.
Can you suggest me how to do it properly? Do I need to provide more information?
Thank you!
Removing old kernels [SOLVED]
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Removing old kernels [SOLVED]
Last edited by slometa on Wed Sep 26, 2018 4:03 pm, edited 2 times in total.
- catweazel
- Level 19
- Posts: 9875
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Removing old kernels
Code: Select all
dpkg -l | grep "linux\-[a-z]*\-"
sudo apt remove <pkg names>
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Removing old kernels
The GUI way is via Update Manager > View > Linux Kernels > pick a kernel > click remove.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Removing old kernels
Thank you.
So if I check Linux kernels at Update Manager, I should pick the kernels that are shown under installed. But not the one loaded (in bold).
Just want to be 200% sure not to make a mess
.

So if I check Linux kernels at Update Manager, I should pick the kernels that are shown under installed. But not the one loaded (in bold).
Just want to be 200% sure not to make a mess
Re: Removing old kernels
That's correct, but don't worry... it will not let you remove the loaded / active kernel.

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!