[Buildroot] Genimage last partition size issue

Peter Korsgaard peter at korsgaard.com
Thu May 26 19:55:43 UTC 2016


>>>>> "Gustavo" == Gustavo Zacarias <gustavo at zacarias.com.ar> writes:

Hi,

 > Yes, that would be suitable, expect for 8 GB cards where you "loose"
 > space :)

And the fact that 4GB cards are normally a bit less than 4GB big (and
the "bit" afaik varies with the card).

> The other approach which i briefly mentioned is on first boot running
 > a resize script that adjusts the partition table to grow the last
 > partition to fit the running block device and resizes the filesystem.
 > Of course it has some limitations, like ext2/3/4 filesystems (some
 > others as well) and having some tools around for the trick.
 > Regards.

Yes, either at first boot or from the host after writing the image.

-- 
Venlig hilsen,
Peter Korsgaard 



More information about the buildroot mailing list