balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
29.65k stars 2.1k forks source link

Flash Failed #3575

Closed xucr001 closed 1 year ago

xucr001 commented 3 years ago

Successfully connected to IPC server: etcher-server-5784, socket root C:\Users\xucr\AppData\Local\Temp\ gui.js:51120 Image: D:\Temp\klever1988\r2s-slim.img.gz gui.js:51120 Devices: \.\PhysicalDrive1 gui.js:51120 Auto blockmapping: true gui.js:51120 Decompress first: true gui.js:51120 Thu Aug 12 2021 20:56:47 GMT+0800 (China Standard Time) SafeWebview loaded ({"event":{"id":48,"url":"https://assets.balena.io/etcher-featured/index.html?borderRight=false&darkBackground=true&etcher-version=1.5.121&api-version=2&optOutAnalytics=false","method":"GET","timestamp":1628773007578.523,"resourceType":"mainFrame","ip":"127.0.0.1","fromCache":false,"statusLine":"HTTP/1.1 200","statusCode":200,"responseHeaders":{"access-control-allow-origin":["*"],"age":["97"],"alt-svc":["h3-27=\":443\"; ma=86400, h3-28=\":443\"; ma=86400, h3-29=\":443\"; ma=86400, h3=\":443\"; ma=86400"],"cache-control":["max-age=600"],"cf-cache-status":["DYNAMIC"],"cf-ray":["67d9dd9e7c9eeaf0-LAX"],"content-encoding":["br"],"content-type":["text/html; charset=utf-8"],"date":["Thu, 12 Aug 2021 12:56:47 GMT"],"expect-ct":["max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""],"expires":["Thu, 12 Aug 2021 01:43:12 GMT"],"last-modified":["Wed, 11 Aug 2021 21:30:05 GMT"],"nel":["{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"],"report-to":["{\"endpoints\":[{\"url\":\"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Gv%2BTCFxhAUtMzl00WUmTMlufRLk9CFdj1JlQhKknDKz7kFapJHm%2BLOB2CG5tg395EPn8EwaEXpTZt1DaSyNu6ow1QSPJZ5gLp3MD4XcZs71cqTCfrDSv1zfeSMy%2FSXGbogJe\"}],\"group\":\"cf-nel\",\"max_age\":604800}"],"server":["cloudflare"],"vary":["Accept-Encoding"],"via":["1.1 varnish"],"x-cache":["HIT"],"x-cache-hits":["1"],"x-fastly-request-id":["8095cdcd207f5758df7e09bf0d023c2fc6b0d1ff"],"x-github-request-id":["5356:7C35:3B812:48A05:61147A58"],"x-proxy-cache":["MISS"],"x-served-by":["cache-bur17580-BUR"],"x-timer":["S1628773007.141984,VS0,VE1"]},"referrer":"","error":"net::OK"},"sample":0.1,"applicationSessionUuid":"d778ee8e-c2a6-42be-b1bc-5b1341405695","flashingWorkflowUuid":"63ab6595-18c6-4f02-aae8-63b89102c9b5"}) gui.js:38464 Decompressing , 28% at 340.30 MB/s (total 0.00 MB/s) eta in 1s with 0 failed devices gui.js:38464 Decompressing , 100% at 424.60 MB/s (total 0.00 MB/s) eta in 0s with 0 failed devices gui.js:51120 Thu Aug 12 2021 20:56:52 GMT+0800 (China Standard Time) Flash error ({"image":{"size":696254464,"compressedSize":354619653,"hasMBR":true,"path":"D:\Temp\klever1988\r2s-slim.img.gz","partitions":[{"offset":33554432,"size":16777216,"type":131,"index":1},{"offset":67108864,"size":629145600,"type":131,"index":2}],"isCompressed":true,"name":"r2s-slim.img","isSizeEstimated":true,"extension":"gz"},"drives":[{"size":32085377024,"isVirtual":false,"enumerator":"PCISTOR","logicalBlockSize":512,"raw":"\\.\PhysicalDrive1","error":null,"isReadOnly":false,"displayName":"F:\","blockSize":512,"isSCSI":true,"isRemovable":true,"device":"\\.\PhysicalDrive1","busVersion":"2.0","isSystem":false,"busType":"SCSI","isCard":false,"isUSB":false,"devicePath":null,"mountpoints":[{"path":"F:\"}],"description":"SDHC Card","isUAS":false,"partitionTableType":"mbr"}],"driveCount":1,"uuid":"5ae02834-e168-4124-b6fb-74a4cece701d","flashInstanceUuid":"5ae02834-e168-4124-b6fb-74a4cece701d","error":{"name":"Error","message":"EPERM: operation not permitted, write","stack":"Error: EPERM: operation not permitted, write","code":"EPERM","syscall":"write","errno":-4048},"sample":0.1,"applicationSessionUuid":"d778ee8e-c2a6-42be-b1bc-5b1341405695","flashingWorkflowUuid":"63ab6595-18c6-4f02-aae8-63b89102c9b5"}) gui.js:51120 Finish: 0 gui.js:51120 Terminating IPC server gui.js:51120 Flash results {results: {…}, cancelled: false, skip: false} gui.js:51120 Thu Aug 12 2021 20:56:55 GMT+0800 (China Standard Time) Done ({"image":{"size":696254464,"compressedSize":354619653,"hasMBR":true,"path":"D:\Temp\klever1988\r2s-slim.img.gz","partitions":[{"offset":33554432,"size":16777216,"type":131,"index":1},{"offset":67108864,"size":629145600,"type":131,"index":2}],"isCompressed":true,"name":"r2s-slim.img","isSizeEstimated":true,"extension":"gz"},"drives":[{"size":32085377024,"isVirtual":false,"enumerator":"PCISTOR","logicalBlockSize":512,"raw":"\\.\PhysicalDrive1","error":null,"isReadOnly":false,"displayName":"F:\","blockSize":512,"isSCSI":true,"isRemovable":true,"device":"\\.\PhysicalDrive1","busVersion":"2.0","isSystem":false,"busType":"SCSI","isCard":false,"isUSB":false,"devicePath":null,"mountpoints":[{"path":"F:\"}],"description":"SDHC Card","isUAS":false,"partitionTableType":"mbr"}],"driveCount":1,"uuid":"5ae02834-e168-4124-b6fb-74a4cece701d","status":"finished","flashInstanceUuid":"5ae02834-e168-4124-b6fb-74a4cece701d","errors":[{"name":"Error","description":"SDHC Card","code":"EPERM","syscall":"write","errno":-4048,"device":"\\.\PhysicalDrive1"}],"devices":{"failed":1,"successful":0},"bytesWritten":0,"sourceMetadata":{"size":696254464,"name":"decompressed-image-ccfea19bdbbe.tmp","blocks":[{"blocks":[{"offset":0,"length":48234496}]},{"blocks":[{"offset":50331648,"length":287309824}]},{"blocks":[{"offset":469762048,"length":35651584}]},{"blocks":[{"offset":603979776,"length":92274688}]}],"blockmappedSize":463470592},"sample":0.1,"applicationSessionUuid":"d778ee8e-c2a6-42be-b1bc-5b1341405695","flashingWorkflowUuid":"63ab6595-18c6-4f02-aae8-63b89102c9b5"}) gui.js:51120 Thu Aug 12 2021 20:56:56 GMT+0800 (China Standard Time) SafeWebview loaded ({"event":{"id":72,"url":"https://www.balena.io/etcher/success-banner/?borderTop=false&darkBackground=true&etcher-version=1.5.121&api-version=2&optOutAnalytics=false","method":"GET","timestamp":1628773016054.296,"resourceType":"mainFrame","ip":"127.0.0.1","fromCache":false,"statusLine":"HTTP/1.1 200","statusCode":200,"responseHeaders":{"age":["55248"],"cache-control":["public, max-age=0, must-revalidate"],"content-encoding":["br"],"content-length":["6086"],"content-type":["text/html; charset=UTF-8"],"date":["Wed, 11 Aug 2021 21:36:07 GMT"],"etag":["\"aa3d2e050801c8e6dd0b808602b12083-ssl-df\""],"link":["</webpack-runtime-47aa5d601d000d04376c.js>; rel=preload; as=script, </styles-c4fa86dfd4ad05097eee.js>; rel=preload; as=script, </framework-42f2600cafd3c0e08aac.js>; rel=preload; as=script, </50c25a04-efe577ee14c9c53bed03.js>; rel=preload; as=script, </73ad3401-e112b47ad7a992b91ac8.js>; rel=preload; as=script, </532a2f07-16f3498dd087ee7288d4.js>; rel=preload; as=script, </app-5e95b1e4c182e47e001a.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-8fcc2f56d20b76e33299.js>; rel=preload; as=script, </edad6859a763f5239c0343c48608d154b87713d6-282649cf8ac0a71046b8.js>; rel=preload; as=script, </component---src-pages-etcher-success-banner-js-c81df2b0c3894e1f37af.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":["01FCX6ZR1YRNFAYH9SPYXW4Y6V"],"x-xss-protection":["1; mode=block"]},"referrer":"","error":"net::OK"},"sample":0.1,"applicationSessionUuid":"d778ee8e-c2a6-42be-b1bc-5b1341405695","flashingWorkflowUuid":"63ab6595-18c6-4f02-aae8-63b89102c9b5"})

NickMatthews-1 commented 2 years ago

Hi there.

From what I saw about half way down I saw this "\r2s-slim.img.gz"

From what it looks like you were doing you were trying to feed it a compressed file in clone from url instead of the image itself. You can tell it is compressed by the .gz at the end of the file name. I would recommend that you feed the image file to Etcher, and it should work fine. I recommend that you give Etcher the ISO / Image file. Giving it a compressed file can cause issues with things.