Failure when trying to copy an ISO to a stick

Got an “Oops! Something went wrong!” error when using a freshly downloaded and installed balenaEtcher 1.5.86 to create a bootable USB stick (Kingston DataTraveler 100 G3, 8GB) out of a 400MB ISO file. I selected the file, it selected the USB stick, I told it to go ahead, it thought for a while, I got the UAC popup for cmd, told it OK, and it quit. The stick was apparently not closed properly; despite doing the “safe to remove” thing, machines that I’m plugging it into now say that it should be checked. The stick was nominally empty when I started this process - moved all files off it into storage. (Looking at it now I see a bunch of files that were hidden then…)

The machine where this failed was an older Netbook, Windows 7 Basic on an Atom-powered machine.

Any information you need on this, please ask.

Hi there
It is possible that sticks that are not inserted firmly can cause the behavior they observed (ie. the “oops” message) and re-seating the stick usually helps after one or two tries. So it worths giving it another try.
You can also try to flash another thing with etcher or format the stick in windows and I think that after that your USB stick will be okay.
Actually, could you please tell me more about the ISO file? What are you trying to burn?

Please let us know how it goes and if you need any further help with that.

Well, I had just moved about 6GB of data off that stick and onto the same machine successfully, so I’m reasonably certain that the USB was properly seated. And the same ISO (which was a Linux distro retrieved via Torrent) did burn successfully to that same USB when the entire assemblage was moved to a different (Windows 7 64-bit) machine… with the one proviso that the stick did complain about needing to be scanned in the new machine, which it hadn’t in the little one. So I think, anyway, that there is something about the Atom-based machine that messes things up.

If this is something that you’re interested in looking at in more depth, of course I’ll give you any information I can get off that machine.

Thanks for reporting and following up on this. Are you able to reproduce the error consistently on the Atom-based machine? If so can you try and open up the dev-tools (Ctrl+Shift+I), go to the console and share with us if there is any error reported in there?

The important line of the console appears to be this one:

C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Tue May 12 2020 10:11:09 GMT-0700 (Pacific Daylight Time) Write failed ({“image”:“C:\Transfer\kali-linux-2020-1b-installer-netinst-i386-iso\kali-linux-2020.1b-installer-netinst-i386.iso”,“drives”:[{“size”:7776239616,“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”:“Kingston DataTraveler 3.0 USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“325b64da-c8cd-48ed-85a6-259b622eaa64”,“status”:“failed”,“flashInstanceUuid”:“325b64da-c8cd-48ed-85a6-259b622eaa64”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“error”:{“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false,“code”:“ECHILDDIED”},“sample”:0.1,“applicationSessionUuid”:“5c3ca2a2-4cb2-4880-9cc1-c884b2ad5a14”,“flashingWorkflowUuid”:“92f93721-2362-4afe-96b9-5608ca4818d5”})

I do have the full console listing tucked away if necessary.

Hey Charles, thanks for helping us out in sorting this. Can you please try to flash another USB stick in that machine and also provide the whole logs file (not just the error part) ?

Cheers :slight_smile:

Here’s the entire log from the burn that generated that error message.

gui.js:3250  _____ _       _
|  ___| |     | |
| |__ | |_ ___| |__   ___ _ __
|  __|| __/ __| '_ \ / _ \ '__|
| |___| || (__| | | |  __/ |
\____/ \__\___|_| |_|\___|_|

Interested in joining the Etcher team?
Drop us a line at join+etcher@balena.io

Version = 1.5.86, Type = nsis
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\resin-corvus\src\resin-corvus.js:39 Tue May 12 2020 10:07:15 GMT-0700 (Pacific Daylight Time) Application start ({"packageType":"nsis","version":"1.5.86","sample":0.1,"applicationSessionUuid":"5c3ca2a2-4cb2-4880-9cc1-c884b2ad5a14","flashingWorkflowUuid":"92f93721-2362-4afe-96b9-5608ca4818d5"})
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Tue May 12 2020 10:09:12 GMT-0700 (Pacific Daylight Time) Open image selector ({"sample":0.1,"applicationSessionUuid":"5c3ca2a2-4cb2-4880-9cc1-c884b2ad5a14","flashingWorkflowUuid":"92f93721-2362-4afe-96b9-5608ca4818d5"})
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Tue May 12 2020 10:09:48 GMT-0700 (Pacific Daylight Time) Select image ({"image":{"size":455081984,"name":"kali-linux-2020.1b-installer-netinst-i386.iso","hasMBR":true,"partitions":[{"offset":2320384,"size":327680,"type":239,"index":1}],"path":"C:\\Transfer\\kali-linux-2020-1b-installer-netinst-i386-iso\\kali-linux-2020.1b-installer-netinst-i386.iso","extension":"iso","logo":false,"blockMap":false},"sample":0.1,"applicationSessionUuid":"5c3ca2a2-4cb2-4880-9cc1-c884b2ad5a14","flashingWorkflowUuid":"92f93721-2362-4afe-96b9-5608ca4818d5"})
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Tue May 12 2020 10:09:55 GMT-0700 (Pacific Daylight Time) Flash ({"image":"C:\\Transfer\\kali-linux-2020-1b-installer-netinst-i386-iso\\kali-linux-2020.1b-installer-netinst-i386.iso","drives":[{"size":7776239616,"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":"Kingston DataTraveler 3.0 USB Device","isUAS":false}],"driveCount":1,"uuid":"325b64da-c8cd-48ed-85a6-259b622eaa64","status":"started","flashInstanceUuid":"325b64da-c8cd-48ed-85a6-259b622eaa64","unmountOnSuccess":true,"validateWriteOnSuccess":true,"sample":0.1,"applicationSessionUuid":"5c3ca2a2-4cb2-4880-9cc1-c884b2ad5a14","flashingWorkflowUuid":"92f93721-2362-4afe-96b9-5608ca4818d5"})
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\lodash\lodash.js:10333  0 devices, 0% at 0.00 MB/s (total 0.00 MB/s)  with 0 failed devices
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Elevating command: C:\Users\Charles\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Tue May 12 2020 10:10:08 GMT-0700 (Pacific Daylight Time) SafeWebview loaded ({"event":{"id":1,"url":"https://assets.balena.io/etcher-featured/index.html?etcher-version=1.5.86&api-version=2&optOutAnalytics=false","method":"GET","timestamp":1589303408857.633,"resourceType":"mainFrame","ip":"104.31.82.157","fromCache":false,"statusLine":"HTTP/1.1 200","statusCode":200,"responseHeaders":{"access-control-allow-origin":["*"],"age":["518"],"cache-control":["max-age=600"],"cf-cache-status":["DYNAMIC"],"cf-ray":["5925bfb57d66bb40-SEA"],"cf-request-id":["02ab76256c0000bb4020307200000001"],"content-encoding":["br"],"content-type":["text/html; charset=utf-8"],"date":["Tue, 12 May 2020 17:09:41 GMT"],"expect-ct":["max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""],"expires":["Mon, 11 May 2020 11:25:03 GMT"],"last-modified":["Tue, 28 Apr 2020 17:40:38 GMT"],"server":["cloudflare"],"status":["200"],"vary":["Accept-Encoding"],"via":["1.1 varnish"],"x-cache":["HIT"],"x-cache-hits":["1"],"x-fastly-request-id":["e529831aa82e94f378abebc7aae3e83b9bdbc278"],"x-github-request-id":["4504:36B6:93B76:B7671:5EB9429A"],"x-origin-cache":["1"],"x-proxy-cache":["REVALIDATED"],"x-served-by":["cache-sea4457-SEA"],"x-timer":["S1589303381.379842,VS0,VE1"]},"webContentsId":2,"referrer":"","error":"net::OK"},"sample":0.1,"applicationSessionUuid":"5c3ca2a2-4cb2-4880-9cc1-c884b2ad5a14","flashingWorkflowUuid":"92f93721-2362-4afe-96b9-5608ca4818d5"})
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Successfully connected to IPC server: etcher-server-4412, socket root C:\Users\Charles\AppData\Local\Temp\
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Image: C:\Transfer\kali-linux-2020-1b-installer-netinst-i386-iso\kali-linux-2020.1b-installer-netinst-i386.iso
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Devices: \\.\PhysicalDrive1
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Umount on success: true
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Validate on success: true
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Auto blockmapping: true
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Decompress first: true
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Terminating IPC server
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Flash results Object
C:\Users\Charles\AppData\Local\Programs\balena-etcher\resources\app.asar\node_modules\raven-js\dist\raven.js:58 Tue May 12 2020 10:11:09 GMT-0700 (Pacific Daylight Time) Write failed ({"image":"C:\\Transfer\\kali-linux-2020-1b-installer-netinst-i386-iso\\kali-linux-2020.1b-installer-netinst-i386.iso","drives":[{"size":7776239616,"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":"Kingston DataTraveler 3.0 USB Device","isUAS":false}],"driveCount":1,"uuid":"325b64da-c8cd-48ed-85a6-259b622eaa64","status":"failed","flashInstanceUuid":"325b64da-c8cd-48ed-85a6-259b622eaa64","unmountOnSuccess":true,"validateWriteOnSuccess":true,"error":{"description":"Please try again, and contact the Etcher team if the problem persists","report":false,"code":"ECHILDDIED"},"sample":0.1,"applicationSessionUuid":"5c3ca2a2-4cb2-4880-9cc1-c884b2ad5a14","flashingWorkflowUuid":"92f93721-2362-4afe-96b9-5608ca4818d5"})

I hope that helps… if you need anything else, just ask, though it may take a while to get things happening on that particular machine.

Just a quick check; did you run Etcher as Administrator?

I did not; but as I mentioned, the UAC pop-up does appear at one point, leading me to believe that the burn process automatically asks for, and in this case got, admin privilege before it ran.

The successful burn of the same ISO on the same stick with a different (Win64) machine also did not run in admin context, and also did pop the UAC warning at the same point in the process.

Does the other machine also run Windows 7 ?

Yes; but it’s actually Win7 x64 Enterprise rather than Win7 x86 Home Basic. (As company IT I can install useful software on company machines.)

I don’t have a 32 bit windows 7 to test that.
I’m wondering what might be different.
One thing etcher does before flashing the drive is removing the disk partition table with diskpart.

Can you run diskpart in a terminal on that machine.
Inside diskpart you can try this:
(BE VERY CAREFUL THIS ERASES THE PARTITION TABLE OF THE SELECTED DISK)
The 1 in select disk 1 comes from \\.\PhysicalDrive1

select disk 1
clean
rescan

I’m only guessing and that’s most probably not the issue but I have no other ideas for now.

This has to be ran as administrator.
By THIS ERASES THE PARTITION TABLE OF THE SELECTED DISK I mean YOU WILL LOSE ALL YOUR DATA if you select the wrong disk.
If you’re not sure of what you’re doing, don’t do it.

As an old proponent of the adage “never fdisk after midnight,” I understand the risks, and have for a long time… and so yes, I know what I’m doing, and I was very careful.

So here’s copy and paste:

C:\Windows\system32>diskpart

Microsoft DiskPart version 6.1.7601
Copyright © 1999-2008 Microsoft Corporation.
On computer: MANNAMICRO

DISKPART> select disk 1

Disk 1 is now the selected disk.

DISKPART> clean

DiskPart has encountered an error: Access is denied.
See the System Event Log for more information.

DISKPART> rescan

Please wait while DiskPart scans your configuration…

DiskPart has finished scanning your configuration.

DISKPART> exit

And yes, that was an elevated command prompt - see how it says it’s running in c:\windows\system32 - so it should have had permission. I did try to check the event log for more information, but it said the event log service was not running; I restarted the event log service, but it apparently only stayed up for a few seconds before failing, and I’m guessing it logs its failure to the event log, which it can’t do because the service died… so the only effective fix may well be a nuke and pave.

Given that there is clearly something badly wrong with this machine anyway, I don’t know if there’s any point trying to figure out why it is also failing to run diskpart.

Hi there, from what you’ve described, this sounds like a corrupted system/disk/faulty hardware/etc. If there is an option to reformat and start with a fresh OS instance on this hardware to rule out system issues, that would be our recommendation.