# Etcher fails to flash kali linux on an sd card (Help)

**URL:** <https://forums.balena.io/t/etcher-fails-to-flash-kali-linux-on-an-sd-card-help/366647>\
**Category:** Product support\
**Tags:** raspberrypi4\
**Created:** [February 10, 2023, 7:49pm UTC](https://forums.balena.io/t/etcher-fails-to-flash-kali-linux-on-an-sd-card-help/366647 "2023-02-10T19:49:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toshka](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@Toshka](https://forums.balena.io/u/Toshka)\
**Post date:** [February 10, 2023, 7:49pm UTC](https://forums.balena.io/t/etcher-fails-to-flash-kali-linux-on-an-sd-card-help/366647/1 "2023-02-10T19:49:55Z")

</div>

Hello, I wanted to download Kali Linux on my raspberrypi4, but everytime I flash it fails in seconds. I already tried previous versions of Balena Etcher, formatting my sd card, running the app as an administrator. I also tried other etchers, but they failed too. Moreover, everytime I use it, it unallocates all of the memory from sd card, so i have to format it again.

I pasted the console as I saw in some other help requests, hope someone can tell me what is wrong, thanks:

index.css:1 Failed to load resource: net::ERR\_FILE\_NOT\_FOUND  
electron/js2c/renderer\_init.js:13 (electron) The remote module is deprecated. Use [GitHub - electron/remote: Bridge JavaScript objects from the main process to the renderer process in Electron.](https://github.com/electron/remote) instead.  
log @ electron/js2c/renderer\_init.js:13  
gui.js:354 \_\_\_\_\_ \_ \_  
| _**| | | |  
| | **| |_ _** | |** \_\_\_ \_ \_\_  
| **|| / | ’ \ / \_ \ '|  
| |**| || (__| | | |**/ |  
\_**_/ \__\_\_\_|_| |_|\_\_\_|_|

Interested in joining the Etcher team?  
Drop us a line at [join+etcher@balena.io](mailto:join+etcher@balena.io)

Version = 1.14.3, Type = nsis  
gui.js:37 Error: The specified module could not be found.  
\?\C:\Users\PCNAME\AppData\Local\Programs\balena-etcher\resources\app\generated\modules\winusb-driver-generator\build\Release\Generator.node  
at process.func [as dlopen] (electron/js2c/asar\_bundle.js:5)  
at Object.Module.\_extensions…node (internal/modules/cjs/loader.js:1138)  
at Object.func [as .node] (electron/js2c/asar\_bundle.js:5)  
at Module.load (internal/modules/cjs/loader.js:935)  
at Module.\_load (internal/modules/cjs/loader.js:776)  
at Function.f.\_load (electron/js2c/asar\_bundle.js:5)  
at Function.o.\_load (electron/js2c/renderer\_init.js:33)  
at Module.require (internal/modules/cjs/loader.js:959)  
at require (internal/modules/cjs/helpers.js:88)  
at Object.defineProperty.value (gui.js:35)  
at **webpack\_require** (gui.js:37)  
at Object. (gui.js:35)  
at **webpack\_require** (gui.js:37)  
at gui.js:35  
at async DriverlessDeviceAdapter$.scanLoop (gui.js:35)  
(anonymous) @ gui.js:37  
gui.js:37 Elevating command: C:\Users\PCNAME\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\PCNAME\AppData\Local\Programs\balena-etcher\resources\app\generated\child-writer.js  
gui.js:37 Error: Error invoking remote method ‘disable-screensaver’: No handler registered for ‘disable-screensaver’  
at EventEmitter.i.invoke (electron/js2c/renderer\_init.js:73)  
(anonymous) @ gui.js:37  
gui.js:35 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices  
gui.js:37 Successfully connected to IPC server: etcher-server-7024, socket root C:\Users\PCNAME\AppData\Local\Temp  
gui.js:37 Image: C:\Users\PCNAME\Desktop\kali-linux-2022.4-raspberry-pi-arm64.img.xz  
gui.js:37 Devices: \.\PhysicalDrive2  
gui.js:37 Auto blockmapping: true  
gui.js:37 Decompress first: true  
gui.js:37 Finish: 0  
gui.js:37 Terminating IPC server  
gui.js:37 Flash results Object  
gui.js:37 Error: Error invoking remote method ‘enable-screensaver’: No handler registered for ‘enable-screensaver’  
at EventEmitter.i.invoke (electron/js2c/renderer\_init.js:73)

---

<div class="post-metadata">

**Author:** ![mcraa](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mcraa/32/6648_2.png) [@mcraa](https://forums.balena.io/u/mcraa)\
**Post date:** [February 16, 2023, 12:25pm UTC](https://forums.balena.io/t/etcher-fails-to-flash-kali-linux-on-an-sd-card-help/366647/2 "2023-02-16T12:25:56Z")

</div>

Thanks for your feedback, it is interesting in multiple ways.  
The first error not finding module `winusb-driver-generator`should make the whole app quit.  
Etcher cleans the drive before writing so you are right it is completely empty and you need to reformat it.  
Then the write fails since the driver generator is needed for that.

You may try earlier or later (prerelease) versions while we look into this issue. I would recommend [1.7.9](https://github.com/balena-io/etcher/releases/tag/v1.7.9) or [1.18.1](https://github.com/balena-io/etcher/releases/tag/v1.18.1) from [Tags · balena-io/etcher · GitHub](https://github.com/balena-io/etcher/tags)
