flash failed trying flsh Linux Mint (with a twist)

Hi there!

I´m trying to flash a brand new USB stick (32gb) and it gives me an error ¨Flash failed¨ I upgraded Balena already, same issue, I took a peak on hte DevTool and got this, should I be worried? I mean the main issue is because I need to flash Linux Mint, but I got a bad feeling peeking on the Dev Tool, I hope you can help me with this.

onlast part to the bottom ¨ 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”:[“01GCPCC2ESSEKC2Y5XK4WH7421”],“x-xss-protection”:[“1; mode=block”]},“referrer”:“”,“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“59396521-3165-4e9d-b301-26dcba9bafdd”,“flashingWorkflowUuid”:“c8d11ab5-40fd-432f-9478-a75f4047e7eb”})¨

Thanks in advanced!

Here is the complete information

gui.js:46 Sun Sep 11 2022 08:38:32 GMT-0500 (hora de verano central) Flash error ({“image”:{“size”:2449342464,“name”:“linuxmint-21-cinnamon-64bit.iso”,“hasMBR”:true,“partitions”:[{“offset”:32768,“size”:2444926976,“type”:“EBD0A0A2-B9E5-4433-87C0-68B6B72699C7”,“guid”:“7D7473EA-FCE2-4E11-B09A-A49D0A25CE4C”,“name”:“ISO9660”,“index”:1},{“offset”:2444959744,“size”:4349952,“type”:“C12A7328-F81F-11D2-BA4B-00A0C93EC93B”,“guid”:“7D7473EA-FCE2-4E11-B099-A49D0A25CE4C”,“name”:“Appended2”,“index”:2}],“extension”:“iso”,“path”:“C:\Users\haiku\Music\linuxmint-21-cinnamon-64bit.iso”},“drives”:[{“size”:31457280000,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive1”,“error”:null,“isReadOnly”:false,“displayName”:“E:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive1”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“E:\”}],“description”:“USB DISK 2.0 USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“39ba25a4-d199-4189-8aa5-160e35e4a3c4”,“flashInstanceUuid”:“39ba25a4-d199-4189-8aa5-160e35e4a3c4”,“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”:“59396521-3165-4e9d-b301-26dcba9bafdd”,“flashingWorkflowUuid”:“c8d11ab5-40fd-432f-9478-a75f4047e7eb”})

gui.js:46 Finish: 0

gui.js:46 Terminating IPC server

gui.js:46 Flash results

  1. Object

gui.js:46 Sun Sep 11 2022 08:38:37 GMT-0500 (hora de verano central) Done ({“image”:{“size”:2449342464,“name”:“linuxmint-21-cinnamon-64bit.iso”,“hasMBR”:true,“partitions”:[{“offset”:32768,“size”:2444926976,“type”:“EBD0A0A2-B9E5-4433-87C0-68B6B72699C7”,“guid”:“7D7473EA-FCE2-4E11-B09A-A49D0A25CE4C”,“name”:“ISO9660”,“index”:1},{“offset”:2444959744,“size”:4349952,“type”:“C12A7328-F81F-11D2-BA4B-00A0C93EC93B”,“guid”:“7D7473EA-FCE2-4E11-B099-A49D0A25CE4C”,“name”:“Appended2”,“index”:2}],“extension”:“iso”,“path”:“C:\Users\haiku\Music\linuxmint-21-cinnamon-64bit.iso”},“drives”:[{“size”:31457280000,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive1”,“error”:null,“isReadOnly”:false,“displayName”:“E:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive1”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“E:\”}],“description”:“USB DISK 2.0 USB Device”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“39ba25a4-d199-4189-8aa5-160e35e4a3c4”,“status”:“finished”,“flashInstanceUuid”:“39ba25a4-d199-4189-8aa5-160e35e4a3c4”,“errors”:[{“name”:“Error”,“description”:“USB DISK 2.0 USB Device”,“code”:“EPERM”,“syscall”:“write”,“errno”:-4048,“device”:“\\.\PhysicalDrive1”}],“devices”:{“failed”:1,“successful”:0},“bytesWritten”:0,“sourceMetadata”:{“size”:2449342464,“name”:“linuxmint-21-cinnamon-64bit.iso”,“blocks”:[{“blocks”:[{“offset”:0,“length”:2449342464}]}],“blockmappedSize”:2449342464},“sample”:0.1,“applicationSessionUuid”:“59396521-3165-4e9d-b301-26dcba9bafdd”,“flashingWorkflowUuid”:“c8d11ab5-40fd-432f-9478-a75f4047e7eb”})

gui.js:46 Sun Sep 11 2022 08:38:38 GMT-0500 (hora de verano central) SafeWebview loaded ({“event”:{“id”:74,“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”:1662903518389.742,“resourceType”:“mainFrame”,“ip”:“35.247.66.204”,“fromCache”:false,“statusLine”:"HTTP/1.1 200”,“statusCode”:200,“responseHeaders”:{“age”:[“214237”],“cache-control”:[“public, max-age=0, must-revalidate”],“content-encoding”:[“gzip”],“content-length”:[“7273”],“content-type”:[“text/html; charset=UTF-8”],“date”:[“Fri, 09 Sep 2022 02:08:02 GMT”],“etag”:[“"a006af64eb5090a974e9cd6c394a9f3b-ssl-df"”],“link”:[“</webpack-runtime-a214b95f9a21dfb2d898.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”:[“01GCPCC2ESSEKC2Y5XK4WH7421”],“x-xss-protection”:[“1; mode=block”]},“referrer”:“”,“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“59396521-3165-4e9d-b301-26dcba9bafdd”,“flashingWorkflowUuid”:“c8d11ab5-40fd-432f-9478-a75f4047e7eb”})

Hello there!

No, you should not be worried at all :slight_smile:
Seeing Error: EPERM: operation not permitted I have the following questions:

  • did you get a popup window asking for your admin password when you clicked “Flash”? (etcher needs admin privileges to write the USB stick)
  • the flash failed message appears right after you click “Flash” ?

You may try running balenaEtcher as administrator at the beginning.
Disabling Windows Defender or other antivirus programs could also help with behaviour like this.