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

Benedikt Spranger b.spranger at linutronix.de
Sun Mar 3 18:37:00 CET 2024


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.

    Bene


More information about the elbe-devel mailing list