[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No space left when: update-initramfs: Generating /boot/initrd.img-5.10.0-5-amd64





El mié., 7 abr. 2021 14:58, Stefan Monnier <monnier@iro.umontreal.ca> escribió:
> What do you recommend I do?

Other than purging old kernels, I also recommend you check

    /etc/initramfs-tools/initramfs.conf

where `MODULES=dep` and `COMPRESS=lzma` have made a big difference for
me (more or less shrunk the initrd images by a factor 3-4).

Thanks I will test!

> Doubt: after this, by default old kernels will be cleaned up in Bullseye Vs
>        Buster?

I don't think APT ever cleans up old kernels for you (at least in its
default configuration).

Recently that was fixed at unstable [1]

I found a interesting manpage for this issue [2]

Regards

[1] https://blog.jak-linux.org/2021/02/18/apt-2.2/
[2] https://manpages.debian.org/stretch/byobu/purge-old-kernels.1.en.html


        Stefan


Reply to: