clean out old kernel versions?

Colin Law clanlaw at gmail.com
Sun Mar 7 07:11:30 UTC 2021


On Sun, 7 Mar 2021, 05:55 Dave Stevens, <geek at uniserve.com> wrote:

> Linux user-Satellite-A100 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18
> 18:34:49 UTC 2016 i686 i686 i686 GNU/Linux
>
> cat /etc/issue
> Linux Mint 18 Sarah \n \l
>
> --------------
>
>
> /boot has 440 files in it, almost all of which are old kernel entries.
> Is there a simple way to get rid of all but the most recent few (2 or
> 3)?
>


Start with
sudo apt autoremove

Though that won't get rid of ones not removed before a mint version upgrade.

Colin





> I could find a use for that 4.4 GB of disk space.
>
> D
>
> --
> In modern fantasy (literary or governmental), killing people is the
> usual solution to the so-called war between good and evil. My books are
> not conceived in terms of such a war, and offer no simple answers to
> simplistic questions.
>
> ----- Ursula Le Guin
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210307/a5c345c0/attachment.html>


More information about the ubuntu-users mailing list