-
Notifications
You must be signed in to change notification settings - Fork 168
Increase Initial /boot Partition Size #346
Comments
may be linked to #347 |
Maybe this is not a good use-case for HypriotOS. I would suggest to use standard Raspbian, install everything you need and install Docker with the get.docker.com install script. |
What exactly is the usecase for HypriotOS? Maybe I missed that .. I just want to run docker containers. Ok, for audio card access I need Hardware.. but isn't HypriotOS on a PI a good idea if I'd like to plug additional Hardware which needs custom drivers? I don't understand your point, maybe you could clarify a little.. Actually I already investigated and tried some other OS because of this, these seem to work better. P.S. My "usecase" was successfully deployed to HypriotOS with using an older version mid 2019! |
I don't know if replacing the kernel still has all relevant features needed to use Docker. That's why I suggested to use Raspbian for such projects. The idea of Hypriot is to run Docker and we cannot support other kernels installed if something breaks. Increasing /boot should be done here: https://github.com/hypriot/image-builder-raw/blob/master/builder/rpi/build.sh#L13 and drafting a new release. We want to keep the partitions as small as possible and useful. |
I checked, Raspbian has a 256 MB /boot partition. It's not the size I would prefer. |
Hi Stefan, thx, I'll check the image-builder if I find time to (don't know when) .. I also don't like the kernel to be downgraded. So I think there is no big need to support it, that's fine. The kernel downgrade of the driver I'm using looks like this:
and it errors with: You do not have enough space in /boot to install this package. You can find full error log of kernel dowgrade in the linked issue respeaker/seeed-voicecard#209 Actually I don't know how much space the/a kernel downgrade needs. If it's the size of the downloaded kernel itself, 100MB would not be enough. And if kernel headers download size is needed aswell, you should better increase to 150MB or more .. tbd I can reproduce/test it with different boot volume sizes if you provide me an image download link. |
I checked the Raspbian version I have installed this driver to. After driver installation, kernel downgrade and reboot, it still consumes only 52MB at /boot
The missing space for downgrade may only be used temporarily until next reboot. But I don't know .. Maybe you could find out how much space a typical downgrade needs. So you could feature but not support projects running docker on the edge with specific kernel versions. Trade off between projects that need minimal /boot volume size and choose default HypriotOS Image /boot volume size depending on this decision. Nevertheless, thank you for your support! |
rpi-update with todays kernel/repository: rpi-update*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom https://github.com/Hexxeh/rpi-update/blob/master/rpi-update#L313 |
Actually I can't install the 2mic respeaker driver on a vanilla flashed HypriotOS v1.12.0 on a PI4. What happens is the /boot partition of the OS is too small (~12MB free space) to downgrade the kernel during seeed-voicecard install.sh script. So far so good, finally I end up with a bricked HypriotOS with read-only file system, see also respeaker/seeed-voicecard#209
HypriotOS shall have enought space on /boot to downgrade kernels, so please
to be at least 100MB.
https://serverfault.com/questions/334663/what-is-the-recommended-size-for-a-linux-boot-partition
After flashing HypriotOS v1.12.0 from github releases to a 64GB card:
The text was updated successfully, but these errors were encountered: