0

When i do my updates, the /boot folder is always full with old stuff...
So, after a while, I can't make any updates/upgrades anymore, because the /boot folder is full.
I have to delete some stuff from /boot via sudo aptitude remove ... my /boot directory

I also have to remove from time to time my old headers and images... all headers and images installed

Is that normal? My colleague, also with an Ubuntu does not have this problem

my du -h boot says:

3,4M    /boot/efi/EFI/ubuntu
3,4M    /boot/efi/EFI
3,4M    /boot/efi
127K    /boot/grub/locale
2,4M    /boot/grub/fonts
2,9M    /boot/grub/x86_64-efi
7,7M    /boot/grub
12K /boot/lost+found
100M    /boot
David Foerster
  • 36,890
  • 56
  • 97
  • 151
Joergi
  • 101

1 Answers1

0

It often depends on whether you have a separate /boot partition, if you're running out of space in that partition, you'll need to clear old kernel files to make room for the new ones. The recommended way to do this is to use:

sudo apt-get autoremove

This should leave you with your current kernel, and the previous one as a fallback. I tend to do this after running an update and successfully rebooting.

Arronical
  • 20,241