Latest Etcher Version 1.5.109 on Mac OS Catalina 10.15.6 problem with flashing

I have a problem with flashing .iso and it seems that it doesn’t matter which particular linux distribution I’m trying to flash (Parrot OS, Kali Linux, Ubuntu, etc.). The whole process is going fine, but after validation I see only 733Kb of data on my USB. I have tried to reinstall Etcher from different sources (homebrew and direct download of .dmg from official site), but it doesn’t make a change. Could you please help?

Hi. Some disk images (typically for Linux) contain multiple partitions, and you might not be able to simply see them in file explorer.
Have you actually tried to use the flashed USB/SD card? Maybe you can find that it works fine.

Hey, yes, I tried to do that, but I couldn’t boot from this USB stick on my PC Dell Vostro 3490. I have also tried to use different USB sticks, but it doesn’t make a thing.

Can you boot any other USB sticks flashed on different machines?
Just trying to rule out the case of flashing being done properly, because it sounds like the image validation is successful. Besides, I am also running the latest macOS 10.15.6 together with the latest balenaEtcher 1.5.109 and just flashed Ubuntu successfully, so cannot reproduce the problem.

You can use OPT + CMD + I to access the developer console and see any error messages in the log within the console tab in more detail. If there are any errors here feel free to post them so we can investigate further.
Let us know how you get on.

Thank you for response, but now I’m getting totally different error “Corrupted image…” Please, find a picture and full log attached. Etcher.log (24.0 KB)

gui.js:48916 {"stack":"Error: The writer process ended unexpectedly\n    at createError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:63120:23)\n    at createUserError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:63131:16)\n    at Server.<anonymous> (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:79338:28)","message":"The writer process ended unexpectedly","description":"Please try again, and contact the Etcher team if the problem persists","report":false,"image":"Parrot-home-4.10_amd64.iso"}
console.<computed> @ gui.js:48916

I haven’t tried to boot from any other disks, because at the moment I have only MacBookAir9,1 and my second laptop is Dell without any OS.

Once again thank you for your help!

Hi, I see something in logs that may indicate the problem:

EBUSY: resource busy or locked, open '/dev/rdisk2'","stack":"Error: EBUSY: resource busy or locked, open '/dev/rdisk2'

You can see the post where other users have similar problem. Can you try to run etcher as suggested in post?

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

Yes, it helped to get rid of the last error with the following messages in terminal:

~ % sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher
Password:
(node:3425) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/xxhash/build/Release/hash.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:3425) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/ext2fs/build/Release/bindings.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:3425) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/drivelist/build/Release/drivelist.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:3425) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/@balena.io/usb/build/Release/usb_bindings.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
ready-to-show: 822.739ms
Checking for update
Generated new staging user ID: 229b8034-94c0-53da-a6c5-c06179b53ce4
Error: Error: net::ERR_CERT_INVALID
at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:93:6395)
at SimpleURLLoaderWrapper.emit (events.js:223:5)
{“stack”:“Error: net::ERR_CERT_INVALID\n at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:93:6395)\n at SimpleURLLoaderWrapper.emit (events.js:223:5)”,“message”:“net::ERR_CERT_INVALID”}
{“stack”:“Error: net::ERR_CERT_INVALID\n at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:93:6395)\n at SimpleURLLoaderWrapper.emit (events.js:223:5)”,“message”:“net::ERR_CERT_INVALID”}

Unfortunately it doesn’t solve the topic problem.

I will try to flash the same image Parrot-home-4.10_amd64.iso (Parrot’s creators suggest to use Etcher as prefered flashing method) on another computer later.

Right now I will try to flash the latest Ubuntu build and comeback with results on soonest.

As for Ubuntu, it works well with the following messages in terminal:

% sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

{“message”:“getaddrinfo ENOTFOUND balena.io”,“stack”:“Error: getaddrinfo ENOTFOUND balena.io\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)”,“config”:{“url”:“https://balena.io/etcher/static/config.json",“method”:“get”,“headers”:{“Accept”:"application/json, text/plain, /”,“User-Agent”:“axios/1.5.109”},“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“responseType”:“json”,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1},“code”:“ENOTFOUND”}

(node:3706) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/xxhash/build/Release/hash.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.

(node:3706) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/ext2fs/build/Release/bindings.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.

(node:3706) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/drivelist/build/Release/drivelist.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.

(node:3706) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/@balena.io/usb/build/Release/usb_bindings.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.

ready-to-show: 544.127ms

{“message”:“getaddrinfo ENOTFOUND balena.io”,“stack”:“Error: getaddrinfo ENOTFOUND balena.io\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)”,“config”:{“url”:“https://balena.io/etcher/static/config.json",“method”:“get”,“headers”:{“Accept”:"application/json, text/plain, /”,“User-Agent”:“axios/1.5.109”},“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“responseType”:“json”,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1},“code”:“ENOTFOUND”}

I was able to boot from Ubuntu USB.

Try going to “System Preferences” -> “Security & Privacy” -> “Privacy” then adding the application under “Full Disk Access”.
From https://github.com/balena-io/etcher/issues/3249#issuecomment-664839100

Thank you for suggestion, but it doesn’t help me.

  1. I have granted Full Disk access;
  2. I have used command line command to flash USB stick (another, new one) with Parrot-home-4.10_amd64.iso and now I see the following error:

Screenshot 2020-09-17 at 13.53.29

The output of terminal

{“message”:“getaddrinfo ENOTFOUND balena.io”,“stack”:“Error: getaddrinfo ENOTFOUND balena.io\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)”,“config”:{“url”:“https://balena.io/etcher/static/config.json",“method”:“get”,“headers”:{“Accept”:"application/json, text/plain, /”,“User-Agent”:“axios/1.5.109”},“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“responseType”:“json”,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1},“code”:“ENOTFOUND”}
(node:1071) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/xxhash/build/Release/hash.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:1071) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/ext2fs/build/Release/bindings.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:1071) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/drivelist/build/Release/drivelist.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:1071) Electron: Loading non-context-aware native module in renderer: ‘/Applications/balenaEtcher.app/Contents/Resources/app/generated/modules/@balena.io/usb/build/Release/usb_bindings.node’. This is deprecated, see https://github.com/electron/electron/issues/18397.
ready-to-show: 573.156ms
{“message”:“getaddrinfo ENOTFOUND balena.io”,“stack”:“Error: getaddrinfo ENOTFOUND balena.io\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)”,“config”:{“url”:“https://balena.io/etcher/static/config.json",“method”:“get”,“headers”:{“Accept”:"application/json, text/plain, /”,“User-Agent”:“axios/1.5.109”},“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“responseType”:“json”,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1},“code”:“ENOTFOUND”}

The output of dev. tool

I got first 3 errors when my Wi-Fi was switched off

gui.js:48916 {“message”:“getaddrinfo ENOTFOUND balena.io”,“stack”:“Error: getaddrinfo ENOTFOUND balena.io\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)”,“config”:{“url”:“https://balena.io/etcher/static/config.json",“method”:“get”,“headers”:{“Accept”:"application/json, text/plain, /”,“User-Agent”:“axios/1.5.109”},“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“responseType”:“json”,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1},“code”:“ENOTFOUND”}
console. @ gui.js:48916

Failed to load resource: net::ERR_INTERNET_DISCONNECTED o95242.ingest.sentry.io/api/5428329/store/?sentry_version=7&sentry_client=raven-js%2F3.27.2&sentry_key=eb61f896993a40a3aa9cab2f98f3a4d5:1

{“stack”:“Error: The writer process ended unexpectedly\n at createError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:63120:23)\n at createUserError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:63131:16)\n at Server. (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:79338:28)”,“message”:“The writer process ended unexpectedly”,“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false,“image”:“Parrot-home-4.10_amd64.iso”}
console. @ gui.js:48916

Then I have switched it ON and pushed Retry

{“stack”:“Error: The writer process ended unexpectedly\n at createError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:63120:23)\n at createUserError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:63131:16)\n at Server. (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:79338:28)”,“message”:“The writer process ended unexpectedly”,“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false,“image”:“Parrot-home-4.10_amd64.iso”}
console. @ gui.js:48916
logException @ gui.js:56284
flashImageToDrive @ gui.js:79565
async function (async)
flashImageToDrive @ gui.js:79554
tryFlash @ gui.js:79644
callback @ gui.js:79666
ba @ gui.js:42459
ja @ gui.js:42473
ka @ gui.js:42476
oa @ gui.js:42490
lc @ gui.js:43161
jc @ gui.js:43155
mc @ gui.js:43172
sc @ gui.js:43241
Ia @ gui.js:48471
Ma @ gui.js:42569
Rc @ gui.js:43507
id @ gui.js:43476
exports.unstable_runWithPriority @ gui.js:48800
cg @ gui.js:44668
Ga @ gui.js:48459
gd @ gui.js:43466

Then the last error was replicated 2 more times.

The whole process is going fine, but after validation I see only 733Kb of data on my USB.

This is expected, macOS can only read some partition types (fat, hfs, apfs, maybe ntfs).
Most Linux distros use a small fat32 boot partition followed by a large ext partition (which macOS can’t see).
So you’re only seeing the boot partition here, nothing to worry about.

Hey, yes, I tried to do that, but I couldn’t boot from this USB stick on my PC Dell Vostro 3490

If the verification went fine, the image has been properly flashed.
The problem is somewhere else: the image itself or the laptop settings. Is it set to boot from usb ? Is it an image it can boot ?

Many of the messages in your logs are about not being able to load resources from the Internet (featured project or success banner), this won’t not affect Etcher functionality, it will flash fine with no Internet access.

I’ve tested flashing Parrot-home-4.10_amd64.iso with balenaEtcher 1.5.109 on macOS Catalina, it failed the first type with EBUSY but it succeeded the second time.
I don’t think it has anything to do with the Parrot disk image. It is probably due to a partition on the USB stick being mounted when Etcher tries to flash.
I can’t reproduce it anymore but I’ll try to investigate.

Thanks, I didn’t know that, because I am a newbie Mac users. I thought that all UNIX-like systems can see ext*…

Yes, it was set to boot from USB stick, because I was able to boot with Ubuntu stick. I will check UEFI settings one more time, maybe there are some issues with secure boot or something like that, but I haven’t seen any information about it.

Yes, I have experienced the same with Kali image.

Finally, I have reinstalled Etcher, formatted USB stick in EXT4. I don’t know what exactly did the trick to get rid of the error. Then disk was successfully flashed and after Secure Boot option did the trick to actually boot from it.

Thanks to all for your help and patience.