By default, the arm SD card images built by the FreeBSD infrastructure are built using the minimal space possible. In usual practice, the startup code assumes that it should expand the image to take all the available space in the SD card.
Here is how to defeat that if you wish:
- on your host build system:
- burn the image to an SD card
mount the image via mount -t ufs /dev/daXs2a /mnt (where X may vary)
edit /mnt/etc/rc.conf
comment out the line growfs_enable="YES"
umount /mnt
- on your target system:
- install the SD card and boot normally.
You may then make manual changes to the partitioning, or whatever else you would like.
If you simply want to use the defaults instead, then do /etc/rc.d/growfs onestart .