/boot full - can‘t upgrade

Hallo!

df -h reports…
dev/mmcblk0p1 61M 58M 2.3M 97% /boot

Therefore I can‘t make an upgrade to the newest version.

How can I entlarge the boot partition? Or can I delete files from /boot?

ls -la /boot reports …

total 58700
drwxrwxrwx 4 root root 3584 Jan 1 1970 .
drwxrwxrwx 1 root root 4096 Jan 1 1970 …
-rw-rw-rw- 1 root root 41 Oct 18 16:04 .firmware_revision
-rw-rw-rw- 1 root root 41 Oct 18 16:04 .firmware_revision_kernel
drwxrwxrwx 2 root root 512 Jan 1 1980 System Volume Information
-rw-rw-rw- 1 root root 24201 Oct 18 16:04 bcm2708-rpi-b-plus.dtb
-rw-rw-rw- 1 root root 23938 Oct 18 16:04 bcm2708-rpi-b.dtb
-rw-rw-rw- 1 root root 23719 Oct 18 16:04 bcm2708-rpi-cm.dtb
-rw-rw-rw- 1 root root 24379 Oct 18 16:04 bcm2708-rpi-zero-w.dtb
-rw-rw-rw- 1 root root 23643 Oct 18 16:04 bcm2708-rpi-zero.dtb
-rw-rw-rw- 1 root root 25265 Oct 18 16:04 bcm2709-rpi-2-b.dtb
-rw-rw-rw- 1 root root 25394 Oct 18 16:04 bcm2710-rpi-2-b.dtb
-rw-rw-rw- 1 root root 27054 Oct 18 16:04 bcm2710-rpi-3-b-plus.dtb
-rw-rw-rw- 1 root root 26435 Oct 18 16:04 bcm2710-rpi-3-b.dtb
-rw-rw-rw- 1 root root 25249 Oct 18 16:04 bcm2710-rpi-cm3.dtb
-rw-rw-rw- 1 root root 40531 Oct 18 16:04 bcm2711-rpi-4-b.dtb
-rw-rw-rw- 1 root root 52304 Oct 18 16:04 bootcode.bin
-rw-rw-rw- 1 root root 334 Oct 18 16:05 cmdline.txt
-rw-rw-rw- 1 root root 224 Jan 1 1980 config.txt
-rw-rw-rw- 1 root root 6737 Oct 18 16:04 fixup.dat
-rw-rw-rw- 1 root root 6169 Oct 18 16:04 fixup4.dat
-rw-rw-rw- 1 root root 3071 Oct 18 16:04 fixup4cd.dat
-rw-rw-rw- 1 root root 9165 Oct 18 16:04 fixup4db.dat
-rw-rw-rw- 1 root root 9163 Oct 18 16:04 fixup4x.dat
-rw-rw-rw- 1 root root 2654 Oct 18 16:04 fixup_cd.dat
-rw-rw-rw- 1 root root 9811 Oct 18 16:04 fixup_db.dat
-rw-rw-rw- 1 root root 9811 Oct 18 16:04 fixup_x.dat
-rw-rw-rw- 1 root root 5029712 Oct 18 16:04 kernel.img
-rw-rw-rw- 1 root root 5312792 Oct 18 16:04 kernel7.img
-rw-rw-rw- 1 root root 5629808 Oct 18 16:04 kernel7l.img
drwxrwxrwx 2 root root 15360 Jan 1 1980 overlays
-rw-rw-rw- 1 root root 0 Oct 19 19:49 ssh
-rw-rw-rw- 1 root root 2878980 Oct 18 16:04 start.elf
-rw-rw-rw- 1 root root 2770692 Oct 18 16:04 start4.elf
-rw-rw-rw- 1 root root 771904 Oct 18 16:04 start4cd.elf
-rw-rw-rw- 1 root root 4578120 Oct 18 16:04 start4db.elf
-rw-rw-rw- 1 root root 3532328 Oct 18 16:04 start4x.elf
-rw-rw-rw- 1 root root 686628 Oct 18 16:04 start_cd.elf
-rw-rw-rw- 1 root root 4855720 Oct 18 16:04 start_db.elf
-rw-rw-rw- 1 root root 3793224 Oct 18 16:04 start_x.elf
-rw-rw-rw- 1 root root 19831709 Oct 18 16:09 volumio.initrd
volumio@volumio:~$

Cheers,
Thomas

When I flash a new SD-Card, I‘ve the same problem - /boot is completly full (97% of 61 MB).
What can I do?
Do I need volumio.initr?

Looks like the sd card isn’t getting resized. Are you sure the boot if fully finished the first time you power up?

I flashex a new SD-card - put ist in the Raspberry 3B and reboot. I wait 10 minutes and made the settings on the ‚Volumio.local‘.

Same result - /boot 97% used.

The size of /boot is imho ok (61K), maybe the file ‚volumio.initrd‘ with 20G ist the problem?!

But I think the resize worked -‚overlay‘ size is 27G

the first partition (/boot) never gets resized, it is fixed at approx. 64MB
Only the 3rd partition will be resized upon first boot (hence the correct overlay size of 27GB).
You cannot just delete files, especially not volumio.initrd.
Without that one, nothing goes…

Hope the PI guys will step in, this issue seems critical.

issue is being investigated, additional kernel for PI4 may be the cause.

I tried using Gparted to increase the /boot partition, it was a tedious job shifting the first two partitions so that there was free unallocated space beside the first (/boot) partition. In the end it messed up something and the OS stopped booting. I would love to figure out how to increase the /boot partition. I’m trying to recompile my kernel to support iSCSI and the new kernel takes up more space than is free on the /boot partition.

make sure to use INSTALL_MOD_STRIP=1 when compiling the kernel, then it won’t be that much bigger than the original one adding just icsci.
Increasing the boot partition by shifting the rest with newly created partitions is a very bad idea. Which board are we talking about?