Flash failed need help

Hello there

I have a problem (i use win10 64) i wanna flash octopi (2.88gb file size) on my 32gb sandisc sdcard i unzip the file load the *.img into etcher select target sdhc card. size 31.7gb f:\ hit the flash button n agree its flashing takes about 2minutes done now the validating starts open the file folder start n at 15% etcher say flash failed tried it with 2 different sd cards with other imgs n different files

When i open the sd card it says f:\boot… With some files in it but only 51.7 mb

Could you please help me whats going wrong

Thank you so much! N.w

1 Like

Hi Nikolay,
on balenaEtcher, you can open a console with Ctrl + Shift + I and that might give you more information about what is going on in case there is an error.
Check it out, and if you cannot make anything of it, let us know, will try to help out
Good luck!

1 Like

PS. you do not need to unzip the file if there is only an .img inside of it

1 Like

Ohhh nice i see its self decompressing n i see flashing 1 device 47%n so on zero fails in the console letz wait for the validation

1 Like

Tried to send picture of the error but im not allowed to xD cos im new

1 Like

can you copy paste the output?

1 Like

sure i just logged in on pc n copy paste the error code

Verifying 1 device, 14% at 36.20 MB/s (total 36.20 MB/s) eta in 50s with 0 failed devices
gui.js:56889 Wed Dec 16 2020 15:40:43 GMT+0100 (Mitteleuropäische Normalzeit) Validation error ({“image”:{“size”:2879389696,“compressedSize”:720197004,“hasMBR”:true,“path”:“C:\Users\Anwender\Downloads\octopi-buster-lite-0.17.0.zip”,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:2606759936,“type”:131,“index”:2}],“isCompressed”:true,“name”:“2019-09-26-octopi-buster-lite-0.17.0.img”,“extension”:“zip”},“drives”:[{“size”:31914983424,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive1",“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive1",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“SDHC Card”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“60535719-5691-49df-a64c-c1549e558f2e”,“flashInstanceUuid”:“60535719-5691-49df-a64c-c1549e558f2e”,“unmountOnSuccess”:true,“sample”:0.1,“applicationSessionUuid”:“c6c6c055-f591-43ae-a30d-d78558509b12”,“flashingWorkflowUuid”:“e848d9c2-86e4-460a-a7f3-326f85d3dc64”})
gui.js:6038 Verifying 1 device, 15% at 36.20 MB/s (total 36.20 MB/s) eta in 49s with 0 failed devices
gui.js:56889 Finish: 327155712
gui.js:56889 Terminating IPC server
gui.js:56889 Flash results {results: {…}, cancelled: false, skip: false}
gui.js:56889 Wed Dec 16 2020 15:40:47 GMT+0100 (Mitteleuropäische Normalzeit) Done ({“image”:{“size”:2879389696,“compressedSize”:720197004,“hasMBR”:true,“path”:“C:\Users\Anwender\Downloads\octopi-buster-lite-0.17.0.zip”,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:2606759936,“type”:131,“index”:2}],“isCompressed”:true,“name”:“2019-09-26-octopi-buster-lite-0.17.0.img”,“extension”:“zip”},“drives”:[{“size”:31914983424,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive1",“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive1",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“SDHC Card”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“60535719-5691-49df-a64c-c1549e558f2e”,“status”:“finished”,“flashInstanceUuid”:“60535719-5691-49df-a64c-c1549e558f2e”,“unmountOnSuccess”:true,“errors”:[{“name”:“Error”,“description”:“SDHC Card”,“code”:“EVALIDATION”,“device”:"\\.\PhysicalDrive1"}],“devices”:{“failed”:1,“successful”:0},“bytesWritten”:327155712,“sourceMetadata”:{“size”:2879389696,“name”:“f31ee50ac5d2.tmp”,“blocks”:[{“blocks”:[{“offset”:0,“length”:335544320}]},{“blocks”:[{“offset”:406847488,“length”:1076887552}]},{“blocks”:[{“offset”:1484783616,“length”:18874368}]},{“blocks”:[{“offset”:1504706560,“length”:7340032}]},{“blocks”:[{“offset”:1513095168,“length”:3145728}]},{“blocks”:[{“offset”:1517289472,“length”:6291456}]},{“blocks”:[{“offset”:1524629504,“length”:157286400}]},{“blocks”:[{“offset”:1685061632,“length”:136314880}]},{“blocks”:[{“offset”:1822425088,“length”:7340032}]},{“blocks”:[{“offset”:1830813696,“length”:46137344}]},{“blocks”:[{“offset”:1877999616,“length”:121634816}]},{“blocks”:[{“offset”:2000683008,“length”:139460608}]},{“blocks”:[{“offset”:2143289344,“length”:26214400}]},{“blocks”:[{“offset”:2170552320,“length”:1048576}]},{“blocks”:[{“offset”:2176843776,“length”:10485760}]},{“blocks”:[{“offset”:2197815296,“length”:4194304}]},{“blocks”:[{“offset”:2420113408,“length”:8388608}]}],“blockmappedSize”:2106589184},“sample”:0.1,“applicationSessionUuid”:“c6c6c055-f591-43ae-a30d-d78558509b12”,“flashingWorkflowUuid”:“e848d9c2-86e4-460a-a7f3-326f85d3dc64”})
gui.js:56889 Wed Dec 16 2020 15:40:48 GMT+0100 (Mitteleuropäische Normalzeit) SafeWebview loaded ({“event”:{“id”:297,“url”:“https://www.balena.io/etcher/success-banner/?borderTop=false&darkBackground=true&etcher-version=1.5.112&api-version=2&optOutAnalytics=false",“method”:“GET”,“timestamp”:1608129648357.172,“resourceType”:“mainFrame”,“ip”:“2a05:d014:275:cb02:2ca1:885d:7cc9:5ec”,“fromCache”:false,“statusLine”:"HTTP/1.1 200”,“statusCode”:200,“responseHeaders”:{“age”:[“11309”],“cache-control”:[“public, max-age=0, must-revalidate”],“content-encoding”:[“gzip”],“content-length”:[“6779”],“content-type”:[“text/html; charset=UTF-8”],“date”:[“Wed, 16 Dec 2020 11:32:19 GMT”],“etag”:["“37eea542ff0840d31f003c1bb78bdd3e-ssl-df”"],“link”:["</webpack-runtime-bbe89a9b0c676dfe6688.js>; rel=preload; as=script, </styles-c4fa86dfd4ad05097eee.js>; rel=preload; as=script, </framework-1412a250c868c0a8c32e.js>; rel=preload; as=script, </73ad3401-b34093a8033d990846f8.js>; rel=preload; as=script, </532a2f07-79d7d47f8c4538117bc1.js>; rel=preload; as=script, </app-9a4ffca057ba7b7eb646.js>; rel=preload; as=script, </c943faba-8401ef931f889cf944b7.js>; rel=preload; as=script, </af13d906-35b0ceec0469366ea95d.js>; rel=preload; as=script, </ec1189df-f1a321eba12a2bb0c7ab.js>; rel=preload; as=script, </a9a7754c-8c1c986c04a5e7e0eb7d.js>; rel=preload; as=script, </4cb05eeb-b3d75e0ea6d5bf23eefa.js>; rel=preload; as=script, </231dbb27-4338284bbe58d6dfdf6d.js>; rel=preload; as=script, </09701b4e-af614bef3348fcdee886.js>; rel=preload; as=script, </8adc965a-a7876456b8d16e3cf929.js>; rel=preload; as=script, </42cf64af-f20bd93ce07ef388a461.js>; rel=preload; as=script, </commons-d2f65fa441a6b18b951b.js>; rel=preload; as=script, </fa5ad257d571af33d737afaa118648b294b3ca41-57c9d77daebffbfca154.js>; rel=preload; as=script, </1f9101bfa6ab6b5c77f1b7191fb4987950aee8e9-2a13ff60a3f77104df6a.js>; rel=preload; as=script, </component—src-pages-etcher-success-banner-js-278df0bb34cef76decdb.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”:[“same-origin”],“server”:[“Netlify”],“status”:[“200”],“strict-transport-security”:[“max-age=31536000”],“vary”:[“Accept-Encoding”],“x-content-type-options”:[“nosniff”],“x-frame-options”:[“DENY”],“x-nf-request-id”:[“ced7ce3b-7313-48ac-8173-191483be0814-81838573”],“x-xss-protection”:[“1; mode=block”]},“referrer”:"",“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“c6c6c055-f591-43ae-a30d-d78558509b12”,“flashingWorkflowUuid”:“e848d9c2-86e4-460a-a7f3-326f85d3dc64”})

by the way thanks alot for your help !!!

1 Like

Yes i copy pasted it on pc but akismet has temp. hidden my post xD

I hope its soon no longer listed as spam

Thanks alot for your help :slight_smile:

1 Like

I see it, I just marked it as not spam I’ll take a look now

1 Like

I don’t see anything wrong.
Is that where it stops working? at 14%, it says flash failedand nothing happens afterwards?
You mentioned that after that, you opened the SD File System in Windows, and only so the boot partition. Actually windows does not recognize all types of partitions, so, if you don’t see them there it doesn’t mean they don’t exist.
Have you tried the SD card in your end-device?

1 Like

Yes it said flash failed at 14% n a screen pops up with the texr flash failed abd a button with flash another.

No havent tried it yet will try later when im home

Thanks for your help!

1 Like

Hey @Mochipet, I tried downloading and flashing the same octopi-buster-lite-0.17.0.zip file on my Win10 x64 PC and didn’t run into any issues with validation.
You said you tried multiple SD cards and multiple files? Can you provide an example of another image file you tried flashing with Etcher? Did it fail during validation as well?

I saw this warning on octoprint.org so at first I suspected an issue with the image, but if you are seeing the same behaviour with other images then we may be looking at a larger issue.

There have been some reports regarding current revisions of the Raspberry Pi 4 1/2/4 GB refusing to boot with the stable OctoPi 0.17.0 image. If that affects you, please try the OctoPi 0.18.0 release candidate.

Do you have any luck with the SD card in your end-device, even though the validation failed?

Also some additional information for you once we get your Etcher install working. We actually have a barebones project for running Octoprint on balena if that is of interest to you:

There’s also have a community developed version that includes more features:

Take care,
Kyle

1 Like

hello, i was just wondering if you solved this issue, i am having a similar/ same problem, the flash fails rather wuickly and i do not know what to do to solve this problem. if anyone has any advice, i would greatly appreciate it!!

Mike

1 Like

Are you attempting to flash this exact same file, @slinky? Or is this some other image your are flashing?

1 Like

yes i believe so, the latest version of octopi (v.17)

1 Like

Hi Michael, are you having a problem with flashing or with validation as @mochipet? Could you check your console and share the output as well? Thanks !

1 Like

I am having the same issue with v17 and alternate v18.

Flashes fine but fails at 15% verification on different microSD cards and card readers.

Thu Dec 24 2020 21:13:42 GMT-0800 (Pacific Standard Time) Validation error ({“image”:{“size”:2879389696,“compressedSize”:720197004,“hasMBR”:true,“path”:“D:\Downloads\Chrome\octopi-buster-lite-0.17.0.zip”,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:2606759936,“type”:131,“index”:2}],“isCompressed”:true,“name”:“2019-09-26-octopi-buster-lite-0.17.0.img”,“extension”:“zip”},“drives”:[{“size”:8035237888,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive4",“error”:null,“isReadOnly”:false,“displayName”:“G:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive4",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“G:\”}],“description”:“Mass Storage Device USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“9f8cd20f-cb46-441d-9b7d-1ed3600f32fc”,“flashInstanceUuid”:“9f8cd20f-cb46-441d-9b7d-1ed3600f32fc”,“sample”:0.1,“applicationSessionUuid”:“609be269-21b2-4b6e-b3be-e43f1c352980”,“flashingWorkflowUuid”:“49e446b9-897d-4f0c-bfa1-8be6ef42ea27”})
gui.js:6038 Verifying 1 device, 15% at 19.40 MB/s (total 19.40 MB/s) eta in 92s with 0 failed devices
gui.js:56886 Finish: 332398592
gui.js:56886 Terminating IPC server
gui.js:56886 Flash results {results: {…}, cancelled: false, skip: false}

1 Like

Hi folks

  • Can you mention the version of etcher that you are using? Please ensure it’s 1.5.113 - being on the latest helps us easily recreate issues
  • Once you download the image from Octopi, can you run a md5-sum and check if the resulting value matches with the one mentioned here - https://octoprint.org/download/ . Make sure that you run the md5-sum command on the zip, and not the img itself. This will ensure that the file you have downloaded is complete.
  • Lastly - have you tried this on any other laptop/PC? Do you see the same result?
1 Like

Exact same issue. Fails at 15% for Octo .17, and at 16% for .18. Tried different cards and readers as well. Output is below.
Tue Dec 29 2020 19:34:38 GMT-0700 (Mountain Standard Time) Validation error ({“image”:{“size”:2476736512,“name”:“2020-08-20-octopi-buster-armhf-lite-0.18.0.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:2204106752,“type”:131,“index”:2}],“extension”:“img”,“path”:“C:\Users\Len\Downloads\2020-11-02_2020-08-20-octopi-buster-armhf-lite-0.18.0\2020-08-20-octopi-buster-armhf-lite-0.18.0.img”},“drives”:[{“size”:33554432000,“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”:“Multi Flash Reader USB Device”,“isUAS”:false,“partitionTableType”:null}],“driveCount”:1,“uuid”:“392088d2-b726-49fc-903f-0cb72fbbcc86”,“flashInstanceUuid”:“392088d2-b726-49fc-903f-0cb72fbbcc86”,“sample”:0.1,“applicationSessionUuid”:“9c8411ce-0616-4def-bcd6-0e49dbceaa77”,“flashingWorkflowUuid”:“2e23a705-a564-4a2a-8ee9-74f5559480cd”})
gui.js:6038 Verifying 1 device, 16% at 12.10 MB/s (total 12.10 MB/s) eta in 143s with 0 failed devices
gui.js:56886 Finish: 331350016
gui.js:56886 Terminating IPC server
gui.js:56886 Flash results Object
gui.js:56886 Tue Dec 29 2020 19:34:42 GMT-0700 (Mountain Standard Time) Done ({“image”:{“size”:2476736512,“name”:“2020-08-20-octopi-buster-armhf-lite-0.18.0.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:2204106752,“type”:131,“index”:2}],“extension”:“img”,“path”:“C:\Users\Len\Downloads\2020-11-02_2020-08-20-octopi-buster-armhf-lite-0.18.0\2020-08-20-octopi-buster-armhf-lite-0.18.0.img”},“drives”:[{“size”:33554432000,“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”:“Multi Flash Reader USB Device”,“isUAS”:false,“partitionTableType”:null}],“driveCount”:1,“uuid”:“392088d2-b726-49fc-903f-0cb72fbbcc86”,“status”:“finished”,“flashInstanceUuid”:“392088d2-b726-49fc-903f-0cb72fbbcc86”,“errors”:[{“name”:“Error”,“description”:“Multi Flash Reader USB Device”,“code”:“EVALIDATION”,“device”:"\\.\PhysicalDrive1"}],“devices”:{“failed”:1,“successful”:0},“bytesWritten”:331350016,“sourceMetadata”:{“size”:2476736512,“name”:“2020-08-20-octopi-buster-armhf-lite-0.18.0.img”,“blocks”:[{“blocks”:[{“offset”:0,“length”:334495744}]},{“blocks”:[{“offset”:406847488,“length”:1080033280}]},{“blocks”:[{“offset”:1487929344,“length”:360710144}]},{“blocks”:[{“offset”:1849688064,“length”:143654912}]},{“blocks”:[{“offset”:1994391552,“length”:3145728}]},{“blocks”:[{“offset”:1998585856,“length”:110100480}]},{“blocks”:[{“offset”:2109734912,“length”:7340032}]},{“blocks”:[{“offset”:2120220672,“length”:2097152}]},{“blocks”:[{“offset”:2126512128,“length”:8388608}]},{“blocks”:[{“offset”:2260729856,“length”:4194304}]},{“blocks”:[{“offset”:2420113408,“length”:3145728}]}],“blockmappedSize”:2057306112},“sample”:0.1,“applicationSessionUuid”:“9c8411ce-0616-4def-bcd6-0e49dbceaa77”,“flashingWorkflowUuid”:“2e23a705-a564-4a2a-8ee9-74f5559480cd”})
gui.js:56886 Tue Dec 29 2020 19:34:42 GMT-0700 (Mountain Standard Time) SafeWebview loaded ({“event”:{“id”:68,“url”:“https://www.balena.io/etcher/success-banner/?borderTop=false&darkBackground=true&etcher-version=1.5.113&api-version=2&optOutAnalytics=false",“method”:“GET”,“timestamp”:1609295682646.903,“resourceType”:“mainFrame”,“ip”:“2604:a880:400:d0::dff:1”,“fromCache”:false,“statusLine”:"HTTP/1.1 200”,“statusCode”:200,“responseHeaders”:{“age”:[“149594”],“cache-control”:[“public, max-age=0, must-revalidate”],“content-encoding”:[“br”],“content-length”:[“6301”],“content-type”:[“text/html; charset=UTF-8”],“date”:[“Mon, 28 Dec 2020 09:01:29 GMT”],“etag”:["“19d98dc7b9e610457838079f5a8d2cc6-ssl-df”"],“link”:["</webpack-runtime-326ab63a3a3db638b999.js>; rel=preload; as=script, </styles-c4fa86dfd4ad05097eee.js>; rel=preload; as=script, </framework-5caee277c7b8d7ec6fc1.js>; rel=preload; as=script, </73ad3401-b34093a8033d990846f8.js>; rel=preload; as=script, </532a2f07-79d7d47f8c4538117bc1.js>; rel=preload; as=script, </app-a63e98fe07b83b4dcbb9.js>; rel=preload; as=script, </c943faba-8401ef931f889cf944b7.js>; rel=preload; as=script, </af13d906-35b0ceec0469366ea95d.js>; rel=preload; as=script, </ec1189df-f1a321eba12a2bb0c7ab.js>; rel=preload; as=script, </a9a7754c-8c1c986c04a5e7e0eb7d.js>; rel=preload; as=script, </4cb05eeb-219a14f8e992900324ba.js>; rel=preload; as=script, </231dbb27-15b3b2f75c4c43dc9f06.js>; rel=preload; as=script, </09701b4e-602dc43e99c6afa2c703.js>; rel=preload; as=script, </8adc965a-b9abcbb4111e331348c8.js>; rel=preload; as=script, </42cf64af-f20bd93ce07ef388a461.js>; rel=preload; as=script, </commons-5d369bb439151b2a5f14.js>; rel=preload; as=script, </12a4e5f96801425b4fc2bcf8098f301f029556a5-3c068fd00d5480658814.js>; rel=preload; as=script, </1f9101bfa6ab6b5c77f1b7191fb4987950aee8e9-2a13ff60a3f77104df6a.js>; rel=preload; as=script, </component—src-pages-etcher-success-banner-js-acad0c3506d4c602db49.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”:[“same-origin”],“server”:[“Netlify”],“status”:[“200”],“strict-transport-security”:[“max-age=31536000”],“vary”:[“Accept-Encoding”],“x-content-type-options”:[“nosniff”],“x-frame-options”:[“DENY”],“x-nf-request-id”:[“d6f40520-b665-4f90-ae6e-dfd340d69e90-9960523”],“x-xss-protection”:[“1; mode=block”]},“referrer”:"",“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“9c8411ce-0616-4def-bcd6-0e49dbceaa77”,“flashingWorkflowUuid”:“2e23a705-a564-4a2a-8ee9-74f5559480cd”})

1 Like

This is a known issue on Windows for disk images containing fat or ntfs partitions.
Please check https://github.com/balena-io/etcher/issues/3197 and this thread Checksums do not match
TO summarize, the SD cards were most probably flashed fine but the verification fails because Windows is creating folders / files on fat partitions before the verification.