[elbe-devel] [PATCH 04/14] tests: simple-armhf: make sdcard exactly 2Gib large.

Thomas Weißschuh t-8ch at linutronix.de
Mon Mar 4 14:01:13 CET 2024


On Sun, Mar 03, 2024 at 06:37:00PM +0100, Benedikt Spranger wrote:
> Am Wed, 28 Feb 2024 11:34:55 +0100
> schrieb Thomas Weißschuh <thomas.weissschuh at linutronix.de>:
> 
> > Otherwise qemu complains:
> > 
> >     qemu-system-arm: Invalid SD card size: 1.95 GiB
> >     SD card size has to be a power of 2, e.g. 2 GiB.
> >     You can resize disk images with 'qemu-img resize <imagefile>
> > <new-size>' (note that this will lose data if you make the image
> > smaller than it currently is).
> CAVE: You even lose data if your filesystem has decided to store
> something at the end...
> Image resize *NEED* a proper filesystem resize upfront.

As discussed this morning, this message is a verbatim error from qemu.
elbe does not do any resizing here.


More information about the elbe-devel mailing list