0

This is the error that I’m getting in etcher.

enter image description here

I've also tried the macOS disk utility tool to restore it but I'm getting errors there too. The error message is German but it says something like the volumes image list couldn’t be retrieved - OSStatus 45.

Also I've tried two images from different dates both were created using disk utility create image.

I’d really like to restore my image because otherwise I’ll have to setup my pi again from ground up.

EDIT: here is the text version of the error message (used OCR to generate it, so there may be a typo)

Invalid typed array length

RangeError: Invalid typed array length
    at Buffer.Uint8Array        (native)

    at FastBuffer               (buffer.js:11:5)
    at createUnsafeBuffer       (buffer.js:37:10)
    at Function.Buffer.alloc    (buffer.js:141:12)

    at ReadStream._read         (/Applications/Etcher.app/Contents/Resources/app.asar/node_modules/udif/lib/readstream.js:128:25)
    at ReadStream._read         (/Applications/Etcher.app/Contents/Resources/app.asar/node_modules/udif/lib/readstream.js:100:19)
    at ReadStream._read         (/Applications/Etcher.app/Contents/Resources/app.asar/node_modules/udif/lib/readstream.js:106:19)
    at ReadStream._read         (/Applications/Etcher.app/Contents/Resources/app.asar/node_modules/udif/lib/readstream.js:118:21)

    at ReadStream.Readable.read (/Applications/Etcher.app/Contents/Resources/app.asar/node_modules/readable-stream/lib/_stream_readable.js:436:10)
    at flow                     (/Applications/Etcher.app/Contents/Resources/app.asar/node modules/readable-stream/lib/_stream_readable.js:806:34)
    at Pipeline.<anonymous>     (/Applications/Etcher.app/Contents/Resources/app.asar/node modules/readable-stream/lib/_stream_readable.js:676:7)

    at emitNone                 (events.js:86:13)
    at Pipeline.emit            (events.js:188:7)

    at onwriteDrain             (_stream_writable.js:393:12)
    at afterWrite               (_stream_writable.js:381:5)
    at onwrite                  (_stream_writable.js:374:7)
jsotola
  • 531
  • 1
  • 5
  • 11

1 Answers1

0

The problem was that the image was created using macOS disk utility and it doesn't like Linux images. If you want to create Linux images use dd.