# microsd flash failed after verification

**URL:** <https://forums.balena.io/t/microsd-flash-failed-after-verification/361686>\
**Category:** balenaEtcher\
**Created:** [September 5, 2022, 8:45pm UTC](https://forums.balena.io/t/microsd-flash-failed-after-verification/361686 "2022-09-05T20:45:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmckay](https://avatars.discourse-cdn.com/v4/letter/p/848f3c/32.png) [@pmckay](https://forums.balena.io/u/pmckay)\
**Post date:** [September 5, 2022, 8:45pm UTC](https://forums.balena.io/t/microsd-flash-failed-after-verification/361686/1 "2022-09-05T20:45:07Z")

</div>

I tried to copy an image file  
from a gzip’s image (dd) file of a raspberrypi boot drive  
to an sd card  
on 2 different pcs (win10 and win11)

Based on the log, the write seems to be ok, but the verify fails. The only message I see is “Flash Failed” in the gui.

Here’s the log starting at the end of the verify…

Verifying 1 device, 99% at 75.80 MB/s (total 75.80 MB/s) eta in 2s with 0 failed devices  
gui.js:35 Verifying 1 device, 99% at 78.40 MB/s (total 78.40 MB/s) eta in 1s with 0 failed devices  
gui.js:46 Mon Sep 05 2022 15:51:41 GMT-0400 (Eastern Daylight Time) Validation error ({“image”:{“size”:15590227968,“compressedSize”:3561584641,“hasMBR”:true,“path”:“R:\util\dd\_raspberrypi0\_v8.img.gz”,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:15317598208,“type”:131,“index”:2}],“isCompressed”:true,“name”:“dd\_raspberrypi0\_v8.img”,“isSizeEstimated”:true,“extension”:“gz”},“drives”:[{“size”:15590227968,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive1”,“error”:null,“isReadOnly”:false,“displayName”:“D:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive1”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“D:\”}],“description”:“Generic STORAGE DEVICE USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“02944dab-7e6e-4a84-b3e5-19a5445f0269”,“flashInstanceUuid”:“02944dab-7e6e-4a84-b3e5-19a5445f0269”,“sample”:0.1,“applicationSessionUuid”:“93082fba-7044-4e85-b08f-b3918dedf54d”,“flashingWorkflowUuid”:“ecd08f0b-da30-48cc-8064-ce1b90060a8b”})  
gui.js:35 Verifying 1 device, 100% at 78.90 MB/s (total 78.90 MB/s) eta in 0s with 0 failed devices  
gui.js:46 Finish: 15590227968  
gui.js:46 Terminating IPC server  
gui.js:46 Flash results Object  
gui.js:46 Mon Sep 05 2022 15:51:45 GMT-0400 (Eastern Daylight Time) Done ({“image”:{“size”:15590227968,“compressedSize”:3561584641,“hasMBR”:true,“path”:“R:\util\dd\_raspberrypi0\_v8.img.gz”,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:15317598208,“type”:131,“index”:2}],“isCompressed”:true,“name”:“dd\_raspberrypi0\_v8.img”,“isSizeEstimated”:true,“extension”:“gz”},“drives”:[{“size”:15590227968,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive1”,“error”:null,“isReadOnly”:false,“displayName”:“D:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive1”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“D:\”}],“description”:“Generic STORAGE DEVICE USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“02944dab-7e6e-4a84-b3e5-19a5445f0269”,“status”:“finished”,“flashInstanceUuid”:“02944dab-7e6e-4a84-b3e5-19a5445f0269”,“errors”:[{“name”:“Error”,“description”:“Generic STORAGE DEVICE USB Device”,“code”:“EVALIDATION”,“device”:“\\.\PhysicalDrive1”}],“devices”:{“failed”:1,“successful”:0},“bytesWritten”:15590227968,“sourceMetadata”:{“isCompressed”:true,“name”:“dd\_raspberrypi0\_v8.img”,“size”:15590227968,“compressedSize”:3561584641,“isSizeEstimated”:false},“sample”:0.1,“applicationSessionUuid”:“93082fba-7044-4e85-b08f-b3918dedf54d”,“flashingWorkflowUuid”:“ecd08f0b-da30-48cc-8064-ce1b90060a8b”})  
gui.js:46 Mon Sep 05 2022 15:51:45 GMT-0400 (Eastern Daylight Time) SafeWebview loaded ({“event”:{“id”:48,“url”:“[https://www.balena.io/etcher/success-banner/?borderTop=false&darkBackground=true&etcher-version=1.7.9&api-version=2&optOutAnalytics=false",“method”:“GET”,“timestamp”:1662407505546.267,“resourceType”:“mainFrame”,“ip”:“34.74.37.249”,“fromCache”:false,“statusLine”:"HTTP/1.1](https://www.balena.io/etcher/success-banner/?borderTop=false&darkBackground=true&etcher-version=1.7.9&api-version=2&optOutAnalytics=false%22,%22method%22:%22GET%22,%22timestamp%22:1662407505546.267,%22resourceType%22:%22mainFrame%22,%22ip%22:%2234.74.37.249%22,%22fromCache%22:false,%22statusLine%22:%22HTTP/1.1) 200”,“statusCode”:200,“responseHeaders”:{“age”:[“25042”],“cache-control”:[“public, max-age=0, must-revalidate”],“content-encoding”:[“gzip”],“content-length”:[“7279”],“content-type”:[“text/html; charset=UTF-8”],“date”:[“Mon, 05 Sep 2022 12:54:23 GMT”],“etag”:[“"269ee492d4b6ca6c9c6be34c6d490ab2-ssl-df"”],“link”:[“\</webpack-runtime-631869ea8900f563b847.js\>; rel=preload; as=script, \</styles-c4fa86dfd4ad05097eee.js\>; rel=preload; as=script, \</framework-004503f2df4bb68d43f8.js\>; rel=preload; as=script, \</50c25a04-a68e3217d6ce65727bd7.js\>; rel=preload; as=script, \</73ad3401-ecb0d3613fde52e78ca5.js\>; rel=preload; as=script, \</532a2f07-f1ad28da1825cfcce2c7.js\>; rel=preload; as=script, \</app-4b6d12e0d352a4f78d5a.js\>; rel=preload; as=script, \</c943faba-f859f80ceb7f4f7eab31.js\>; rel=preload; as=script, \</af13d906-36fdbc23fc7dd2f2b2e7.js\>; rel=preload; as=script, \</ec1189df-4ae9e03f4545d4f1d61b.js\>; rel=preload; as=script, \</a9a7754c-29508ff4045f1f93a5f6.js\>; rel=preload; as=script, \</commons-cea6bfcc846ea7ff6166.js\>; rel=preload; as=script, \</c974efff6ac245e04f4a26711b42db767846e0e5-b1b7091203b51af325ff.js\>; rel=preload; as=script, \</component—src-pages-etcher-success-banner-js-98ac1a1084e1d2a478fa.js\>; rel=preload; as=script, \</page-data/app-data.json\>; rel=preload; as=fetch; crossorigin, \</page-data/etcher/success-banner/page-data.json\>; rel=preload; as=fetch; crossorigin”],“referrer-policy”:[“strict-origin-when-cross-origin”],“server”:[“Netlify”],“strict-transport-security”:[“max-age=31536000”],“vary”:[“Accept-Encoding”],“x-content-type-options”:[“nosniff”],“x-frame-options”:[“DENY”],“x-nf-request-id”:[“01GC7KAXCN3PCWGW5VQ8QA7XMG”],“x-xss-protection”:[“1; mode=block”]},“referrer”:“”,“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“93082fba-7044-4e85-b08f-b3918dedf54d”,“flashingWorkflowUuid”:“ecd08f0b-da30-48cc-8064-ce1b90060a8b”})  
gui.js:46 Mon Sep 05 2022 15:59:51 GMT-0400 (Eastern Daylight Time) Open external link ({“url”:“[balenaEtcher - Flash OS images to SD cards & USB drives](https://www.balena.io/etcher?ref=etcher_footer%22,%22sample%22:0.1,%22applicationSessionUuid%22:%2293082fba-7044-4e85-b08f-b3918dedf54d%22,%22flashingWorkflowUuid%22:%22ecd08f0b-da30-48cc-8064-ce1b90060a8b)”})

---

<div class="post-metadata">

**Author:** ![mcraa](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mcraa/32/6648_2.png) [@mcraa](https://forums.balena.io/u/mcraa)\
**Post date:** [September 8, 2022, 12:52pm UTC](https://forums.balena.io/t/microsd-flash-failed-after-verification/361686/2 "2022-09-08T12:52:21Z")

</div>

Hi,

based on the logs, the verification is also ok.  
`gui.js:35 Verifying 1 device, 100% at 78.90 MB/s (total 78.90 MB/s) eta in 0s with 0 failed devices`  
I think it is a confusing message, which can be caused by an error parsing the results or another issue when trying to unmount the flashed device.  
Your sdcard should be flashed successfully and able to boot the RPi.
