Hello. I’m trying to flash different images, and with each image I get the same error -
Something went wrong. If it is a compressed image, please check that the archive is not corrupted.
The writer process ended unexpectedly
I tried many different images, multiple Etcher versions, multiple SD cards - error is the same.
Here’s DevTools console:
index.js:2 _____ _ _
| ___| | | |
| |__ | |_ ___| |__ ___ _ __
| __|| __/ __| '_ \ / _ \ '__|
| |___| || (__| | | | __/ |
\____/ \__\___|_| |_|\___|_|
Interested in joining the Etcher team?
Drop us a line at join+etcher@balena.io
Version = 2.1.0, Type = local
index.js:140 Spawning unpriviledged sidecar on port 3434
index.js:2 C:\Users\korot\AppData\Local\balena_etcher\app-2.1.0\resources\etcher-util.exe
index.js:2 etcher-zvpvh
index.js:2 Retrying to connect to child process in 1000... 1 / 10
3index.js:2 Starting...
index.js:2 etcher-zvpvh
index.js:2 CHILD READY
index.js:2 start heartbeat
index.js:2 CHILD LOG: Ready ...
index.js:2 CHILD LOG: Scan requested
3index.js:2 Starting...
2index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 1 events"}
(anonymous) @ index.js:2
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 1 events"}
(anonymous) @ index.js:2
e.warn @ index.js:2
e.handleResponse @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:355
(anonymous) @ index.js:355
a @ index.js:355
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 1 events"}
(anonymous) @ index.js:2
e.warn @ index.js:2
e.handleResponse @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:355
(anonymous) @ index.js:355
a @ index.js:355
Promise.then (async)
l @ index.js:355
(anonymous) @ index.js:355
h @ index.js:355
e.send @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:355
(anonymous) @ index.js:355
(anonymous) @ index.js:355
h @ index.js:355
e.flush @ index.js:2
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 1 events"}
(anonymous) @ index.js:2
e.warn @ index.js:2
e.handleResponse @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:355
(anonymous) @ index.js:355
a @ index.js:355
Promise.then (async)
l @ index.js:355
(anonymous) @ index.js:355
h @ index.js:355
e.send @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:355
(anonymous) @ index.js:355
(anonymous) @ index.js:355
h @ index.js:355
e.flush @ index.js:2
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
Promise.then (async)
(anonymous) @ index.js:2
r @ index.js:2
setTimeout (async)
(anonymous) @ index.js:2
e.schedule @ index.js:2
(anonymous) @ index.js:2
index.js:2 Amplitude Logger [Error]: Event rejected due to exceeded retry count
(anonymous) @ index.js:2
e.error @ index.js:2
(anonymous) @ index.js:2
(anonymous) @ index.js:355
(anonymous) @ index.js:355
a @ index.js:355
index.js:2 CHILD LOG: sourceMetadata requested
index.js:2 Starting...
index.js:2 Starting...
index.js:2 Starting...
index.js:2 Starting...
index.js:2 Starting...
index.js:2 Starting...
index.js:2 Spawning priviledged sidecar on port 3435
index.js:2 C:\Users\korot\AppData\Local\balena_etcher\app-2.1.0\resources\etcher-util.exe
index.js:2 ... with privileges ...
index.js:2 Starting...
index.js:2 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
4index.js:2 Error while reading flasher elevation script output Error: ENOENT: no such file or directory, open 'C:\Users\korot\AppData\Local\Temp\98a973dd-0c31-441d-87db-f47eb6b6e530\stdout'
index.js:2 etcher-8subvg
index.js:2 CHILD READY
index.js:2 start heartbeat
index.js:2 params {image: {…}, destinations: Array(1), SourceType: 'File', autoBlockmapping: false, decompressFirst: true}SourceType: "File"autoBlockmapping: falsedecompressFirst: truedestinations: Array(1)0: blockSize: 512busType: "USB"busVersion: "2.0"description: "TS-RDF5 SD Transcend USB Device"device: "\\\\.\\PhysicalDrive2"devicePath: nulldisplayName: "\\\\.\\PhysicalDrive2"enumerator: "USBSTOR"error: nullisCard: falseisReadOnly: falseisRemovable: trueisSCSI: falseisSystem: falseisUAS: falseisUSB: trueisVirtual: falselogicalBlockSize: 512mountpoints: []partitionTableType: "mbr"raw: "\\\\.\\PhysicalDrive2"size: 15552479232[[Prototype]]: Objectlength: 1[[Prototype]]: Array(0)image: SourceType: "File"auth: undefinedextension: "img"hasMBR: truename: "Orangepirv2_1.0.0_ubuntu_noble_server_linux6.6.63.img"partitions: [{…}]path: "D:\\temp\\Orangepirv2_1.0.0_ubuntu_noble_server_linux6.6.63.img"size: 2373976064[[Prototype]]: Object[[Prototype]]: Object
index.js:2 CHILD LOG: Ready ...
index.js:2 CHILD LOG: write requested
index.js:2 CHILD LOG: Image: D:\temp\Orangepirv2_1.0.0_ubuntu_noble_server_linux6.6.63.img
index.js:2 CHILD LOG: Devices: \\.\PhysicalDrive2
index.js:2 CHILD LOG: Auto blockmapping: false
index.js:2 CHILD LOG: Decompress first: true
index.js:2 fail event
index.js:2 {size: 15552479232, isVirtual: false, enumerator: 'USBSTOR', logicalBlockSize: 512, raw: '\\\\.\\PhysicalDrive2', …}blockSize: 512busType: "USB"busVersion: "2.0"description: "TS-RDF5 SD Transcend USB Device"device: "\\\\.\\PhysicalDrive2"devicePath: nulldisplayName: "\\\\.\\PhysicalDrive2"enumerator: "USBSTOR"error: nullisCard: falseisReadOnly: falseisRemovable: trueisSCSI: falseisSystem: falseisUAS: falseisUSB: trueisVirtual: falselogicalBlockSize: 512mountpoints: []partitionTableType: "mbr"raw: "\\\\.\\PhysicalDrive2"size: 15552479232[[Prototype]]: Object
index.js:2 {name: 'Error', message: 'EBADF: bad file descriptor, write', stack: 'Error: EBADF: bad file descriptor, write', code: 'EBADF', syscall: 'write', …}code: "EBADF"errno: -4083message: "EBADF: bad file descriptor, write"name: "Error"stack: "Error: EBADF: bad file descriptor, write"syscall: "write"[[Prototype]]: Object
index.js:2 Flash results {}
index.js:2 {}results: bytesWritten: 0devices: {failed: 1, successful: 0}errors: [Error: EBADF: bad file descriptor, write]sourceMetadata: {size: 2373976064, name: 'Orangepirv2_1.0.0_ubuntu_noble_server_linux6.6.63.img'}[[Prototype]]: Object[[Prototype]]: Object
index.js:2 Starting...
index.js:2 Error: The writer process ended unexpectedly
at i (index.js:353:5238)
at t.createUserError (index.js:353:6464)
at m (index.js:140:45819)
at index.js:140:46525
at L.<anonymous> (index.js:140:43104)
at L.emit (node:events:518:28)
at e.exports.H (index.js:2:2314354)
at e.exports.emit (node:events:518:28)
at index.js:2:2290174
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
(anonymous) @ index.js:2
t.logException @ index.js:140
S @ index.js:140
processTicksAndRejections @ node:internal/process/task_queues:95
await in processTicksAndRejections (async)
tryFlash @ index.js:140
callback @ index.js:140
$e @ index.js:2
Ge @ index.js:2
(anonymous) @ index.js:2
Or @ index.js:2
Tr @ index.js:2
(anonymous) @ index.js:2
De @ index.js:2
(anonymous) @ index.js:2
Rr @ index.js:2
Qt @ index.js:2
Zt @ index.js:2
t.unstable_runWithPriority @ index.js:2
qi @ index.js:2
Le @ index.js:2
Yt @ index.js:2
r @ index.js:2
index.js:2 Starting...
index.js:2 Starting...
media/icon.png:1
GET file:///C:/Users/korot/AppData/Local/balena_etcher/app-2.1.0/resources/app.asar/.webpack/renderer/main_window/media/icon.png net::ERR_FILE_NOT_FOUND
index.js:2 CHILD: flash done {results: {…}}results: bytesWritten: 0devices: {failed: 1, successful: 0}errors: Array(1)0: Error: EBADF: bad file descriptor, writelength: 1[[Prototype]]: Array(0)sourceMetadata: {size: 2373976064, name: 'Orangepirv2_1.0.0_ubuntu_noble_server_linux6.6.63.img'}[[Prototype]]: Object[[Prototype]]: Object
index.js:2 Flash results {results: {…}}results: bytesWritten: 0devices: {failed: 1, successful: 0}errors: Array(1)0: Error: EBADF: bad file descriptor, writecode: "EBADF"description: "TS-RDF5 SD Transcend USB Device"device: "\\\\.\\PhysicalDrive2"errno: -4083name: "Error"syscall: "write"message: "EBADF: bad file descriptor, write"stack: "Error: EBADF: bad file descriptor, write"[[Prototype]]: Objectlength: 1[[Prototype]]: Array(0)sourceMetadata: {size: 2373976064, name: 'Orangepirv2_1.0.0_ubuntu_noble_server_linux6.6.63.img'}[[Prototype]]: Object[[Prototype]]: Object