raspberrypi / rpi-imager

The home of Raspberry Pi Imager, a user-friendly tool for creating bootable media for Raspberry Pi devices.
https://www.raspberrypi.com/software
Other
1.64k stars 249 forks source link

Error writing to storage #525

Open kolbai opened 1 year ago

kolbai commented 1 year ago

I always get this error. I have tried different SD cards, but result is the same. I am running Windows 10. Any suggestions how to fix this issue?

Raspberry_Pi_Imager_v1 7 3

maxnet commented 1 year ago

I have tried different SD cards

Suggest you try a different SD card reader as well, if you have one.

KW7DSP commented 1 year ago

I'm having the same problem.

KW7DSP@Hotmail.Com

Jasoniver commented 1 year ago

I see this is problem that many have had before im trying to load Mainsail Os to my pi with a Rpi that was running octoprint and using the same SD 16gb sandisk SD card but having the error writing to disk

kalph208 commented 1 year ago

Same error. Tried with different sd card reader, tried multiple micro sd cards. Tried formatting fat32 on windows using built in formatter and easeUS Partition master. Says it successfully formats. Try to run raspberry pi imager to install the OS onto the USB, throws error during install - Error writing to storage, then computer will never read that card again. Using Raspberry Pi Imager v1.7.5.

aburacze commented 1 year ago

Please have a look at https://www.reddit.com/r/rasberrypi/comments/13bmqsh/error_writing_to_storage/ Windows Defender may prevent Raspberry Pi imager accessing SD cards directly and you need to add rpi-imager.exe to "Controlled Folder Access".

maxnet commented 1 year ago

Windows Defender may prevent Raspberry Pi imager accessing SD cards directly and you need to add rpi-imager.exe to "Controlled Folder Access".

Ah, yes. Error reporting could be improved in regards to that. We used to have a test for Controlled Folder Access, that displayed a clearer error message to the user if it may have failed due to that, but it's in a code path that is no longer used.

(Windows itself also does warn the user if it blocked an application, but their message is only there for a second in the top right corner of the screen before it dissapears to the "notifications" that not many people read).

Karlheinzniebuhr commented 1 year ago

Please have a look at https://www.reddit.com/r/rasberrypi/comments/13bmqsh/error_writing_to_storage/ Windows Defender may prevent Raspberry Pi imager accessing SD cards directly and you need to add rpi-imager.exe to "Controlled Folder Access".

this solved it for me thanks!