The dd command is right (if X is right), but,but,but
For images (or other large files), flash does not like writing (default) bs=512....(bytes)
Very slow (10x), probably write multiplication
_I_ always use bs=1M <- M not m, some dd's choke on 1m
-----
I assume you have decompressed image? If it is a xz or gz??
Or a pipline,,, xzcat xz_image | dd of=.... bs=1M status=progress
(zcat for gz images)
To see inside an image, you have to loop mount it (or write it to media)
mount requires an appropriate offset (In bytes, use fdisk to get sectors)
sudo mount -o loop,offset=..... some_image mount_point (must be uncompressed image)
For images (or other large files), flash does not like writing (default) bs=512....(bytes)
Very slow (10x), probably write multiplication
_I_ always use bs=1M <- M not m, some dd's choke on 1m
-----
I assume you have decompressed image? If it is a xz or gz??
Or a pipline,,, xzcat xz_image | dd of=.... bs=1M status=progress
(zcat for gz images)
To see inside an image, you have to loop mount it (or write it to media)
mount requires an appropriate offset (In bytes, use fdisk to get sectors)
sudo mount -o loop,offset=..... some_image mount_point (must be uncompressed image)