DISCO root file system size (yocto) #453
-
The pre-built 2024.02.1 Linux image for the MPFS-DISCO-KIT has essentially no free space on the root file system. As you can see from below, the partition fills the SD card, but the file system uses only a fraction of the partition.
I believe this could be fixed by using resize2fs, but this utility is not included in the build. If this is the case, it would be nice if the pre-built image included resize2fs. Furthermore, it would be even better if it automatically expanded on first boot e.g. like the BeagleV-Fire Linux distribution. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @keck9939, Could you please try adding the following line to meta-polarfire-soc-bsp/recipes-core/base-files/base-files_%.bbappend? This should resize the root partition on first boot using growfs systemd service. This will be included in our next release.
Thanks |
Beta Was this translation helpful? Give feedback.
-
I tried the suggested solution and it worked well on my disco-kit. |
Beta Was this translation helpful? Give feedback.
Hello @keck9939,
Could you please try adding the following line to meta-polarfire-soc-bsp/recipes-core/base-files/base-files_%.bbappend? This should resize the root partition on first boot using growfs systemd service. This will be included in our next release.