# df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p1 236M 233M 0 100% /boot
What do you recommend I do?
Doubt: after this, by default old kernels will be cleaned up in Bullseye Vs
Buster?
Am Mittwoch, 7. April 2021, 14:20:46 CEST schrieb Marco Ippolito:
Hi Marco,
just get rid of older kernels.
This is may way:
1st, check your running actual kernel:
uname -a
Then check all installed kernel versions:
ls /boot
You will see several kernels. I suppose, apt-get autoremove will not unistall them, so just use aptitude with the version you want to uninstall:
aptitude purge ~n4.9.10-amd64-*
This will uninstall all stuff with "4.9.10-amd64-" in its name, this means kernel, headers and maybe selfcompiled kernel modules like the nvidia-stuff.
Please check before saying "Y" what is going to be uninstalled.
Do this with all the kernels, except the one you are actually running.
This is working well for me, so good luck!
Best regards
Hans
--
Hans-J. Ullrich
zertifizierter Datenschutzbeauftragter
zertifizierter Datenschutzauditor
zertifizierter Penetrationtester
zertifizierter IT-Security Professionell
zertifizierter IT-Forensik Professionell
zertifizierter Network Vulnerabilty Professionell
> 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).
> 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).
Stefan