0

My /boot partition is always full after a few updates. I had always to delete the old version of the following files to regain some diskspace:

-rw-r--r--  1 root root  1271689 Nov  6 21:34 abi-3.19.0-xx-generic
-rw-r--r--  1 root root   177782 Nov  6 21:34 config-3.19.0-xx-generic
-rw-r--r--  1 root root 32608396 Nov 11 20:23 initrd.img-3.19.0-xx-generic
-rw-------  1 root root  3622220 Nov  6 21:34 System.map-3.19.0-xx-generic
-rw-------  1 root root  6623936 Nov  6 21:34 vmlinuz-3.19.0-xx-generic

Is this normal or is there something wrong with my installation?

Additional informations:

    # du -h /boot
    12K /boot/lost+found
    2.4M    /boot/grub/fonts
    2.1M    /boot/grub/i386-pc
    126K    /boot/grub/locale
    6.8M    /boot/grub
    93M /boot

    # df -h /boot
    Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
    /dev/sdb1       236M     95M  130M   43% /boot
rockZ
  • 129
  • 1
  • 1
  • 9

1 Answers1

1

There is a solution for you in this question, or this even older question

The basic suggestion of both is to use Ubuntu Tweak or Synaptic package manager to help with limiting the number of old kernels in the system.

Charles Green
  • 21,339
  • Thanks, I did not know that! I was about to write my own script. :) Thanks for this! But then its true that apt-get autoremove dont removes those old kernel files? – rockZ Nov 11 '15 at 21:28
  • It does remove them for me, but it may be either that I'm on 15.10, or that I've always used the autoremove function rather than deleteing the files by hand. – Charles Green Nov 11 '15 at 21:35