I have a Raspberry Pi 4 running Ubuntu Server 20.04 with:
root@pi4-4gb:/# du -sh /boot
246M /boot
root@pi4-4gb:/# ll /boot/
total 126035
drwxr-xr-x 4 root root 4096 Aug 20 21:49 ./
drwxr-xr-x 20 root root 4096 Aug 20 21:43 ../
-rw-r--r-- 1 root root 220324 Jul 10 2020 config-5.4.0-1015-raspi
-rw-r--r-- 1 root root 219341 Jul 15 01:56 config-5.4.0-1041-raspi
-rw-r--r-- 1 root root 219341 Jul 29 17:30 config-5.4.0-1042-raspi
lrwxrwxrwx 1 root root 43 Aug 20 21:49 dtb -> dtbs/5.4.0-1042-raspi/./bcm2711-rpi-4-b.dtb
lrwxrwxrwx 1 root root 43 Aug 20 21:11 dtb-5.4.0-1015-raspi -> dtbs/5.4.0-1015-raspi/./bcm2711-rpi-4-b.dtb
lrwxrwxrwx 1 root root 43 Aug 20 21:10 dtb-5.4.0-1041-raspi -> dtbs/5.4.0-1041-raspi/./bcm2711-rpi-4-b.dtb
lrwxrwxrwx 1 root root 43 Aug 20 21:49 dtb-5.4.0-1042-raspi -> dtbs/5.4.0-1042-raspi/./bcm2711-rpi-4-b.dtb
drwxr-xr-x 21 root root 4096 Aug 19 06:05 dtbs/
drwxr-xr-x 3 root root 10752 Jan 1 1970 firmware/
lrwxrwxrwx 1 root root 27 Aug 19 06:04 initrd.img -> initrd.img-5.4.0-1042-raspi
-rw-r--r-- 1 root root 29950118 Aug 20 21:11 initrd.img-5.4.0-1015-raspi
-rw-r--r-- 1 root root 30355964 Aug 20 21:10 initrd.img-5.4.0-1041-raspi
-rw-r--r-- 1 root root 30359495 Aug 20 21:39 initrd.img-5.4.0-1042-raspi
lrwxrwxrwx 1 root root 27 Aug 19 06:04 initrd.img.old -> initrd.img-5.4.0-1041-raspi
-rw------- 1 root root 4160456 Jul 10 2020 System.map-5.4.0-1015-raspi
-rw------- 1 root root 4167408 Jul 15 01:56 System.map-5.4.0-1041-raspi
-rw------- 1 root root 4167480 Jul 29 17:30 System.map-5.4.0-1042-raspi
lrwxrwxrwx 1 root root 24 Aug 19 06:04 vmlinuz -> vmlinuz-5.4.0-1042-raspi
-rw------- 1 root root 8390521 Jul 10 2020 vmlinuz-5.4.0-1015-raspi
-rw------- 1 root root 8401730 Jul 15 01:56 vmlinuz-5.4.0-1041-raspi
-rw------- 1 root root 8400065 Jul 29 17:30 vmlinuz-5.4.0-1042-raspi
lrwxrwxrwx 1 root root 24 Aug 19 06:04 vmlinuz.old -> vmlinuz-5.4.0-1041-raspi
root@pi4-4gb:/# uname -r
5.4.0-1015-raspi
Every now and then when I run updates, I get errors. I think this is happening because by /boot
directory runs out of space.
I'm not sure why I'm still on kernel 5.4.0-1015-raspi
, have ask this in another question.
How can I clear space in by /boot
directory?