Boot Partition voll?

Manchmal kann es vorkommen, dass die Bootpartition voll läuft. Hier gibt es einige Hinweise.

To list all installed kernels, run:

dpkg -l linux-image-\* | grep ^ii

One command to show all kernels and headers that can be removed, excluding the current running kernel:

kernelver=$(uname -r | sed -r 's/-[a-z]+//')
dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve $kernelver

So, after upgrading kernels and rebooting to test it, you can remove all other kernels with:

sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")

https://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot

https://wiki.ubuntuusers.de/Kernel/#1-Fall-boot-Partition-ist-voll https://kofler.info/ubuntu-probleme-mit-vollen-boot-partitionen/ https://askubuntu.com/questions/635798/boot-partition-full-failing-to-delete-old-kernels-broken-packages