boot partition full

Asked by luca moscato

Env: Ubuntu Desktop 16.04 LTS 64bits

Hi all
at the beginning of september 2017 I set up a new pc for a desktop user, command line never used. Now after 5 months of daily use I received the alert about /boot partition almost full, see below

user@latitude5580:~$ df -h
File system Dim. Usati Dispon. Uso% Montato su
/dev/sda2 473M 444M 4,7M 99% /boot

user@latitude5580:/boot$ ls -lh
totale 434M
-rw-r--r-- 1 root root 1,4M lug 20 16:11 abi-4.10.0-28-generic
-rw-r--r-- 1 root root 1,4M ago 11 19:59 abi-4.10.0-33-generic
-rw-r--r-- 1 root root 1,4M set 13 13:16 abi-4.10.0-35-generic
-rw-r--r-- 1 root root 1,4M ott 7 02:35 abi-4.10.0-37-generic
-rw-r--r-- 1 root root 1,4M nov 9 21:56 abi-4.10.0-40-generic
-rw-r--r-- 1 root root 1,4M dic 4 19:28 abi-4.10.0-42-generic
-rw-r--r-- 1 root root 1,5M gen 10 00:54 abi-4.13.0-26-generic
-rw-r--r-- 1 root root 201K lug 20 16:11 config-4.10.0-28-generic
-rw-r--r-- 1 root root 201K ago 11 19:59 config-4.10.0-33-generic
-rw-r--r-- 1 root root 201K set 13 13:16 config-4.10.0-35-generic
-rw-r--r-- 1 root root 201K ott 7 02:35 config-4.10.0-37-generic
-rw-r--r-- 1 root root 201K nov 9 21:56 config-4.10.0-40-generic
-rw-r--r-- 1 root root 201K dic 4 19:28 config-4.10.0-42-generic
-rw-r--r-- 1 root root 209K gen 10 00:54 config-4.13.0-26-generic
drwx------ 3 root root 4,0K gen 1 1970 efi
drwxr-xr-x 5 root root 1,0K gen 17 08:56 grub
-rw-r--r-- 1 root root 43M dic 19 09:08 initrd.img-4.10.0-28-generic
-rw-r--r-- 1 root root 43M dic 19 09:08 initrd.img-4.10.0-33-generic
-rw-r--r-- 1 root root 43M dic 19 09:07 initrd.img-4.10.0-35-generic
-rw-r--r-- 1 root root 43M dic 19 09:07 initrd.img-4.10.0-37-generic
-rw-r--r-- 1 root root 43M dic 19 09:07 initrd.img-4.10.0-40-generic
-rw-r--r-- 1 root root 43M dic 19 09:08 initrd.img-4.10.0-42-generic
-rw-r--r-- 1 root root 50M gen 17 08:55 initrd.img-4.13.0-26-generic
drwx------ 2 root root 12K set 1 12:01 lost+found
-rw-r--r-- 1 root root 179K gen 28 2016 memtest86+.bin
-rw-r--r-- 1 root root 181K gen 28 2016 memtest86+.elf
-rw-r--r-- 1 root root 181K gen 28 2016 memtest86+_multiboot.bin
-rw------- 1 root root 3,6M lug 20 16:11 System.map-4.10.0-28-generic
-rw------- 1 root root 3,6M ago 11 19:59 System.map-4.10.0-33-generic
-rw------- 1 root root 3,6M set 13 13:16 System.map-4.10.0-35-generic
-rw------- 1 root root 3,6M ott 7 02:35 System.map-4.10.0-37-generic
-rw------- 1 root root 3,6M nov 9 21:56 System.map-4.10.0-40-generic
-rw------- 1 root root 3,6M dic 4 19:28 System.map-4.10.0-42-generic
-rw------- 1 root root 3,7M gen 10 00:54 System.map-4.13.0-26-generic
-rw-r--r-- 1 root root 7,1M set 1 12:03 vmlinuz-4.10.0-28-generic
-rw------- 1 root root 7,1M ago 11 19:59 vmlinuz-4.10.0-33-generic
-rw------- 1 root root 7,1M set 1 12:05 vmlinuz-4.10.0-33-generic.efi.signed
-rw------- 1 root root 7,1M set 13 13:16 vmlinuz-4.10.0-35-generic
-rw------- 1 root root 7,1M set 20 08:59 vmlinuz-4.10.0-35-generic.efi.signed
-rw------- 1 root root 7,1M ott 7 02:35 vmlinuz-4.10.0-37-generic
-rw------- 1 root root 7,1M ott 18 09:02 vmlinuz-4.10.0-37-generic.efi.signed
-rw------- 1 root root 7,1M nov 9 21:56 vmlinuz-4.10.0-40-generic
-rw------- 1 root root 7,1M nov 21 09:00 vmlinuz-4.10.0-40-generic.efi.signed
-rw------- 1 root root 7,1M dic 4 19:28 vmlinuz-4.10.0-42-generic
-rw------- 1 root root 7,1M dic 19 09:08 vmlinuz-4.10.0-42-generic.efi.signed
-rw------- 1 root root 7,4M gen 10 00:54 vmlinuz-4.13.0-26-generic
-rw------- 1 root root 7,4M gen 17 08:56 vmlinuz-4.13.0-26-generic.efi.signed

user@latitude5580:/boot$ sudo apt autoremove
[sudo] password di user:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti saranno RIMOSSI:
  linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic linux-headers-4.10.0-33 linux-headers-4.10.0-33-generic linux-headers-4.10.0-35 linux-headers-4.10.0-35-generic linux-headers-4.10.0-37
  linux-headers-4.10.0-37-generic linux-headers-4.10.0-40 linux-headers-4.10.0-40-generic linux-image-4.10.0-28-generic linux-image-4.10.0-33-generic linux-image-4.10.0-35-generic
  linux-image-4.10.0-37-generic linux-image-4.10.0-40-generic linux-image-extra-4.10.0-28-generic linux-image-extra-4.10.0-33-generic linux-image-extra-4.10.0-35-generic
  linux-image-extra-4.10.0-37-generic linux-image-extra-4.10.0-40-generic linux-signed-image-4.10.0-33-generic linux-signed-image-4.10.0-35-generic linux-signed-image-4.10.0-37-generic
  linux-signed-image-4.10.0-40-generic
0 aggiornati, 0 installati, 24 da rimuovere e 59 non aggiornati.
6 non completamente installati o rimossi.
Dopo quest'operazione, verranno liberati 1.539 MB di spazio su disco.
Continuare? [S/n] s

[ALL AUTOREMOVE STUFF...]

And after

user@latitude5580:/boot$ df -h
File system Dim. Usati Dispon. Uso% Montato su
/dev/sda2 473M 142M 307M 32% /boot

Basically, it seems that with default settings and if the user doesn't perform an autoremove from command line there is the chance to fill the /boot partition. This should be avoided since not every user is familiar with command line

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug. Unless you have a specific need for a separate /boot partition then you will need to manage this. I don't think the default installation does this.

Revision history for this message
luca moscato (luca-moscato) said :
#2

Never did a manual partition so I can assume that is the default way of handle this.
What should I do to open a corresponding bug? (thx)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you run:

ubuntu-bug grub

It will start the process for you

Can you help with this problem?

Provide an answer of your own, or ask luca moscato for more information if necessary.

To post a message you must log in.