Hi,
I am quite confused regarding my installed kernels.
I would like to know how many kernels Ubuntu has as a default number (3?).
Is this list of all my installed kernels (mean - take space of HDD)? If yes, than to me it looks too much.Code:dpkg --list | grep linux-image rc linux-image-5.4.0-42-generic 5.4.0-42.46 amd64 Signed kernel image generic rc linux-image-5.4.0-58-generic 5.4.0-58.64 amd64 Signed kernel image generic rc linux-image-5.4.0-59-generic 5.4.0-59.65 amd64 Signed kernel image generic rc linux-image-5.8.0-34-generic 5.8.0-34.37~20.04.2 amd64 Signed kernel image generic rc linux-image-5.8.0-36-generic 5.8.0-36.40~20.04.1 amd64 Signed kernel image generic rc linux-image-5.8.0-38-generic 5.8.0-38.43~20.04.1 amd64 Signed kernel image generic rc linux-image-5.8.0-40-generic 5.8.0-40.45~20.04.1 amd64 Signed kernel image generic rc linux-image-5.8.0-41-generic 5.8.0-41.46~20.04.1 amd64 Signed kernel image generic rc linux-image-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64 Signed kernel image generic rc linux-image-5.8.0-44-generic 5.8.0-44.50~20.04.1 amd64 Signed kernel image generic rc linux-image-5.8.0-45-generic 5.8.0-45.51~20.04.1+1 amd64 Signed kernel image generic rc linux-image-5.8.0-48-generic 5.8.0-48.54~20.04.1 amd64 Signed kernel image generic ii linux-image-5.8.0-49-generic 5.8.0-49.55~20.04.1 amd64 Signed kernel image generic ii linux-image-5.8.0-50-generic 5.8.0-50.56~20.04.1 amd64 Signed kernel image generic ii linux-image-generic-hwe-20.04 5.8.0.50.56~20.04.34 amd64 Generic Linux kernel image
I guess, three would be enough.
I do not have any problems with 5.8 ver, so one 5.4 and two 5.8 would do a thing, am I right?
Also, I though that command "apt-get autoremove" does remove all of the kernels apart from last 3 (or 5?). But it did not. I ran a command couple of times and still the list looks like above.
Anyone could help me with that mess?
Bookmarks