-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rock5B - bookworm - no space left when updating (boot partition) #6206
Comments
Can you share
|
Please also show: df -Th So we can see whether the boot partition is the old FAT one or current ext4 one. |
I already fixed it by deleting the old image...
|
For testing, can you try this: echo -e '#!/bin/dash\nrm -f /boot/vmlinuz-*-rockchip-rk3588' > /etc/kernel/preinst.d/00-remove-old-img
chmod +x 00-remove-old-img
apt install --reinstall linux-image-legacy-rockchip-rk3588 Looks like we need to raise the boot partition size if ext4 is used. On FAT, old files are removed as a mandatory step, since dpkg cannot upgrade files on FAT partitions in general. |
I remember we had this discussion in a similar way... ;) |
And you remember the many arguments I mentioned to use ext4 whenever it is possible 😉. On FAT, currently, reinstalls/upgrades would fail for a bunch of other reasons, one of these being the mentioned dpkg limitation, others the generation of the initramfs. The kernel pre/post install scripts would need to be tailored for this to work (with downsides). |
true, but still... |
(together with #6125 would make it so fast to setup a new system... 😁 ) |
With mainline Linux and U-Boot, this should be possible. Currently the Rockchip/Radxa Linux 5.10.100 and U-Boot is used, which seems to not support a single partition image. I mean, probably no one has tested recently. I could create one without dedicated boot partition, to test. |
Please do and Ill test... |
I have the same issue when trying to
|
Build without dedicated boot partition runs: https://github.com/MichaIng/DietPi/actions/runs/4337053557 |
Just tried the test image and it didn't boot |
Ah my fault, did not update the installer accordingly to install kernel and bootloader even without dedicated boot partition. New build is running. |
when this works - will this become standard then? |
Jep |
FYI, this time it works :)
|
awesome... |
Fantastic, I'll generate a Bookworm image! |
boots fine... |
Many thanks for testing. Looks like we should test this in other cases as well. Will do for Orange Pi 5. |
trying to update linux-image-legacy-rockchip-rk3588 Result in a no space left:
The text was updated successfully, but these errors were encountered: