# Error flashing Astroberry to SD card

**URL:** <https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009>\
**Category:** balenaEtcher\
**Created:** [February 23, 2021, 12:59pm UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009 "2021-02-23T12:59:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Houthans](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@Houthans](https://forums.balena.io/u/Houthans)\
**Post date:** [February 23, 2021, 12:59pm UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/1 "2021-02-23T12:59:49Z")

</div>

Hi everyone,  
I’m trying to flash Astroberry (2.0.3) to a micro SD card and I keep getting the following message:  
‘Something went wrond. If it is a compressed image, please check that the archive is not corrupted. User did not grant permission’.

I’ve tried running etcher as admin, to no avail. Can anyone tell me how I can check whether the archive is corrupted?

Many thanks in advance,  
Hans

---

<div class="post-metadata">

**Author:** ![markcorbinuk](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/markcorbinuk/32/4771_2.png) [@markcorbinuk](https://forums.balena.io/u/markcorbinuk)\
**Post date:** [February 25, 2021, 4:12pm UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/4 "2021-02-25T16:12:53Z")

</div>

Hello @houthans

Welcome to the Balena Forums.

You can confirm the integrity of the archive by running `sha256sum astroberry-server_2.0.3.img.zip` in a Linux console or `CertUtils -hashfile astroberry-server_2.0.3.img.zip SHA256` from a Windows command prompt and comparing the output with the hash shown on the Astroberry website.

Please could you tell us which version of Etcher you are using. When the problem occurs please could you press Ctrl-shift-I and post the output from the ‘Console’.

---

<div class="post-metadata">

**Author:** ![markcorbinuk](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/markcorbinuk/32/4771_2.png) [@markcorbinuk](https://forums.balena.io/u/markcorbinuk)\
**Post date:** [February 25, 2021, 4:19pm UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/5 "2021-02-25T16:19:36Z")

</div>

If you are using Windows 10 then this thread may help [Windows 10: something went wrong](https://forums.balena.io/t/windows-10-something-went-wrong/194013)

---

<div class="post-metadata">

**Author:** ![Houthans](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@Houthans](https://forums.balena.io/u/Houthans)\
**Post date:** [February 25, 2021, 7:15pm UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/7 "2021-02-25T19:15:04Z")

</div>

Hi Markcorbinuk,

Thanks for getting back to me. I’m using version 1.5.116 and here’s the console output:

Version = 1.5.116, Type = nsis  
gui.js:52086 Thu Feb 25 2021 20:10:26 GMT+0100 (Midden-Europese standaardtijd) Application start ({“packageType”:“nsis”,“version”:“1.5.116”,“sample”:0.1,“applicationSessionUuid”:“2c54effc-0b8a-4fa6-b538-00f138c18794”,“flashingWorkflowUuid”:“3a899185-db25-475c-8b39-c20e1ef10f79”})  
gui.js:42737 Thu Feb 25 2021 20:10:29 GMT+0100 (Midden-Europese standaardtijd) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“2c54effc-0b8a-4fa6-b538-00f138c18794”,“flashingWorkflowUuid”:“3a899185-db25-475c-8b39-c20e1ef10f79”})  
gui.js:42737 Thu Feb 25 2021 20:10:32 GMT+0100 (Midden-Europese standaardtijd) Select image ({“image”:{“size”:7843611136,“name”:“astroberry-server\_2.0.3.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:7570981376,“type”:131,“index”:2}],“extension”:“img”,“path”:“C:\Users\desktop\Downloads\astroberry-server\_2.0.3.img(1)\astroberry-server\_2.0.3.img”,“logo”:false,“blockMap”:false},“sample”:0.1,“applicationSessionUuid”:“2c54effc-0b8a-4fa6-b538-00f138c18794”,“flashingWorkflowUuid”:“3a899185-db25-475c-8b39-c20e1ef10f79”})  
gui.js:42737 Thu Feb 25 2021 20:10:38 GMT+0100 (Midden-Europese standaardtijd) Toggle drive ({“drive”:{“size”:15485370368,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive3",“error”:null,“isReadOnly”:false,“displayName”:“E:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive3",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“E:\”}],“description”:“SD Card”,“isUAS”:false,“partitionTableType”:“mbr”},“previouslySelected”:false,“sample”:0.1,“applicationSessionUuid”:“2c54effc-0b8a-4fa6-b538-00f138c18794”,“flashingWorkflowUuid”:“3a899185-db25-475c-8b39-c20e1ef10f79”})  
gui.js:42737 Thu Feb 25 2021 20:10:42 GMT+0100 (Midden-Europese standaardtijd) Flash ({“image”:{“size”:7843611136,“name”:“astroberry-server\_2.0.3.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:7570981376,“type”:131,“index”:2}],“extension”:“img”,“path”:“C:\Users\desktop\Downloads\astroberry-server\_2.0.3.img(1)\astroberry-server\_2.0.3.img”},“drives”:[{“size”:15485370368,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive3",“error”:null,“isReadOnly”:false,“displayName”:“E:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive3",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“E:\”}],“description”:“SD Card”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“663a0440-ae20-49d5-9cdb-6dd13dc9caa9”,“status”:“started”,“flashInstanceUuid”:“663a0440-ae20-49d5-9cdb-6dd13dc9caa9”,“sample”:0.1,“applicationSessionUuid”:“2c54effc-0b8a-4fa6-b538-00f138c18794”,“flashingWorkflowUuid”:“3a899185-db25-475c-8b39-c20e1ef10f79”})  
gui.js:42737 Elevating command: C:\Users\desktop\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\desktop\AppData\Local\Programs\balena-etcher\resources\app\generated\child-writer.js  
gui.js:42737 Terminating IPC server  
gui.js:42737 Flash results  
Object  
gui.js:42737 Thu Feb 25 2021 20:10:42 GMT+0100 (Midden-Europese standaardtijd) Write failed ({“image”:{“size”:7843611136,“name”:“astroberry-server\_2.0.3.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:7570981376,“type”:131,“index”:2}],“extension”:“img”,“path”:“C:\Users\desktop\Downloads\astroberry-server\_2.0.3.img(1)\astroberry-server\_2.0.3.img”},“drives”:[{“size”:15485370368,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive3",“error”:null,“isReadOnly”:false,“displayName”:“E:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive3",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“E:\”}],“description”:“SD Card”,“isUAS”:false,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“663a0440-ae20-49d5-9cdb-6dd13dc9caa9”,“status”:“failed”,“flashInstanceUuid”:“663a0440-ae20-49d5-9cdb-6dd13dc9caa9”,“error”:{},“sample”:0.1,“applicationSessionUuid”:“2c54effc-0b8a-4fa6-b538-00f138c18794”,“flashingWorkflowUuid”:“3a899185-db25-475c-8b39-c20e1ef10f79”})  
gui.js:42737 {“stack”:“Error: User did not grant permission.\n at file:///C%3A/Users/desktop/AppData/Local/Programs/balena-etcher/resources/app/generated/gui.js:64151:43\n at ChildProcess.exithandler (child\_process.js:311:5)\n at ChildProcess.emit (events.js:223:5)\n at maybeClose (internal/child\_process.js:1021:16)\n at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:283:5)”,“message”:“User did not grant permission.”,“image”:“astroberry-server\_2.0.3.img”}  
gui.js:31760 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices

I’ll try to check the integrity now.

---

<div class="post-metadata">

**Author:** ![Houthans](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@Houthans](https://forums.balena.io/u/Houthans)\
**Post date:** [February 26, 2021, 8:57am UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/8 "2021-02-26T08:57:24Z")

</div>

I had noticed that thread as well, but the thing is that I can’t seem to find controlled folder access, even though I’m admin in windows on this computer.

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [February 26, 2021, 10:33am UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/10 "2021-02-26T10:33:57Z")

</div>

Did you try to run Etcher as Administrator clicking on that option (if there is)? Yesterday I had a similar issue on mac and i run Etcher with `sudo`

---

<div class="post-metadata">

**Author:** ![Houthans](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@Houthans](https://forums.balena.io/u/Houthans)\
**Post date:** [February 26, 2021, 11:05am UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/11 "2021-02-26T11:05:48Z")

</div>

Ha! It’s working now. I did run it as admin earlier, but now I’ve tried a different route and something’s happening and it looks like its good! Many thanks!

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [February 26, 2021, 11:17am UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/12 "2021-02-26T11:17:34Z")

</div>

What route did you use now?

---

<div class="post-metadata">

**Author:** ![Houthans](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@Houthans](https://forums.balena.io/u/Houthans)\
**Post date:** [March 1, 2021, 11:47am UTC](https://forums.balena.io/t/error-flashing-astroberry-to-sd-card/260009/14 "2021-03-01T11:47:01Z")

</div>

I selected etcher from the list in explorer and then right-clicked it to select run as admin. Before that, I had used the list of apps that you get when clicking on the windows icon.
