Page 1 of 2

Imager says "error writing to storage (while flushing)"

Posted: Sun Mar 08, 2020 3:34 pm
by JustNotBlue
When i use Raspberry Pi Imager, i format first, then write to my Samsung Evo + 32GB, after 99% i get the message "error writing to storage (while flushing)". I have tried Raspbian Recommended, Full, Lite, LibreELEC (Pi 2/Pi3) and tried several times. My Pi 3B wont boot, and if i use Pi Imager to format, then write, Windows explorer says Put a disk in sd card.
If i only format using Pi Imager, then Windows explorer says the card is empty. If i format using Pi Imager, then write Buster iso using Etcher, its a succes. But Pi wont boot, and win explorer says the card is on 4,84mb, and its full, containing a folder named efi.

Im using W7 Pro on a HP 4520s and the integrated card reader.

Re: Imager says "error writing to storage (while flushing)"

Posted: Sun Mar 08, 2020 10:04 pm
by jk1103
Having the same issue :oops:

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon Mar 09, 2020 1:34 pm
by supersix
Count me in! Same here!

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon Mar 09, 2020 1:57 pm
by pcmanbob
I get the same error , SD card is not recognised by windows, re-flashing same SD card using good old windisk32 imager results in a successful write and a bootable image.

windows 7 pro 64 bit using internal SD card reader I have always used.

Edit...

when I attempted to uninstall this from my pc avast flagged the uninstaller as a virus !!!!

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon Mar 09, 2020 2:32 pm
by jamesh
First thing to note, you do NOT need to format first. Just select the OS, select the SSD card, then click write and it will do it all for you.

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon Mar 09, 2020 4:35 pm
by supersix
jamesh wrote:
Mon Mar 09, 2020 2:32 pm
First thing to note, you do NOT need to format first. Just select the OS, select the SSD card, then click write and it will do it all for you.
Did that. Still getting same error at the 100%.
Tried formatting. Same error at the 100%.
Tried downloading img file. Same error at the 100%.
Tried downloading and formatting. Same error at the 100%.

Basically, same error at the 100%. :D

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon Mar 09, 2020 11:07 pm
by digitalwalt
I'm having the same problem. I tried both an old 8 GB SanDisk card and a 64 GB PNY card. Same behavior either way. I'm running 64-bit Windows 7 Pro.

I went back to NOOBS and I'm having better luck.


Walt

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon Mar 09, 2020 11:34 pm
by incognitum
Anyone having this issue on a more recent version than Windows 7?
Or with an SD card reader that is not internal in a laptop?

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon Mar 09, 2020 11:54 pm
by digitalwalt
My machine is a DELL XPS 8700 desktop with a built-in multi-format flash card interface on the front panel (likely USB inside). (As I already mentioned, I'm running 64-bit Windows 7 Pro. This is more motivation to dump Windows on this machine and go native Linux (instead of just a Linux virtual machine).)

Walt

Re: Imager says "error writing to storage (while flushing)"

Posted: Tue Mar 10, 2020 12:33 am
by Anegadian
Same here.

have tried with two Samsung 32gb EVO SD cards.

Re: Imager says "error writing to storage (while flushing)"

Posted: Tue Mar 10, 2020 7:24 am
by aguther
Also I get the same error, and I hope that soon developers will fix this app

Re: Imager says "error writing to storage (while flushing)"

Posted: Tue Mar 10, 2020 9:00 am
by pcmanbob
incognitum wrote:
Mon Mar 09, 2020 11:34 pm
Anyone having this issue on a more recent version than Windows 7?
Or with an SD card reader that is not internal in a laptop?
My SD card reader although internal is actually USB2 its just mounted in a 3.5" bay on my desktop PC.

never had any problems writing to any SD card using both win32disk imager or etcher.

Re: Imager says "error writing to storage (while flushing)"

Posted: Tue Mar 10, 2020 6:33 pm
by igor4B
Hi !
I have the same issue!
I tried to use the internal sd card reader of my toshiba L635 with a 64GB SDXC card.
On my computer's technical specs it seems my card reader is limited to 16GB

Re: Imager says "error writing to storage (while flushing)"

Posted: Tue Mar 10, 2020 11:32 pm
by igor4B
I tried again with my phone in mass storage mode plugged in usb port and it's the same issue.
It seems to be related to win7...

Re: Imager says "error writing to storage (while flushing)"

Posted: Thu Mar 12, 2020 2:19 pm
by incognitum
v1.2 no longer reports flush errors (on Windows), so should work better for those affected.

Re: Imager says "error writing to storage (while flushing)"

Posted: Thu Mar 12, 2020 2:39 pm
by pcmanbob
incognitum wrote:
Thu Mar 12, 2020 2:19 pm
v1.2 no longer reports flush errors (on Windows), so should work better for those affected.
Just tested v1.2 on win7 pro 64bit , I can report it now works and produces a bootable SD card .

Thanks for all your hard work.

Re: Imager says "error writing to storage (while flushing)"

Posted: Thu Mar 12, 2020 10:37 pm
by AviatorNL
Still have this problem with Windows 10 x64

Re: Imager says "error writing to storage (while flushing)"

Posted: Fri Mar 13, 2020 7:50 am
by jamesh
AviatorNL wrote:
Thu Mar 12, 2020 10:37 pm
Still have this problem with Windows 10 x64
Are you sure you are running 1.2? The error message has been removed aiui, so it would be odd to still get it.

Re: Imager says "error writing to storage (while flushing)"

Posted: Fri Mar 13, 2020 8:17 am
by PeterO
jamesh wrote:
Fri Mar 13, 2020 7:50 am
AviatorNL wrote:
Thu Mar 12, 2020 10:37 pm
Still have this problem with Windows 10 x64
Are you sure you are running 1.2? The error message has been removed aiui, so it would be odd to still get it.
Minor point, but having just reinstalled it there are now two indistinguishable entries in the pop-up menu. This is on Mint-19 running Mate, so a Ubuntu derivative.
PeterO

Re: Imager says "error writing to storage (while flushing)"

Posted: Fri Mar 13, 2020 9:36 am
by incognitum
PeterO wrote:
Fri Mar 13, 2020 8:17 am
Minor point, but having just reinstalled it there are now two indistinguishable entries in the pop-up menu. This is on Mint-19 running Mate, so a Ubuntu derivative.
Old link in start menu should be overwritten on Windows.
On Linux this is not the case as the name changed from imagingutility to rpi-imager.
Try:

Code: Select all

sudo apt remove imagingutility

Re: Imager says "error writing to storage (while flushing)"

Posted: Fri Mar 13, 2020 9:38 am
by PeterO
incognitum wrote:
Fri Mar 13, 2020 9:36 am
PeterO wrote:
Fri Mar 13, 2020 8:17 am
Minor point, but having just reinstalled it there are now two indistinguishable entries in the pop-up menu. This is on Mint-19 running Mate, so a Ubuntu derivative.
Old link in start menu should be overwritten on Windows.
On Linux this is not the case as the name changed from imagingutility to rpi-imager.
Try:

Code: Select all

sudo apt remove imagingutility
Thanks, but it's another example of things being changed without considering the impacts ! :roll:
PeterO

Re: Imager says "error writing to storage (while flushing)"

Posted: Fri Mar 13, 2020 6:19 pm
by AviatorNL
PeterO wrote:
Fri Mar 13, 2020 8:17 am
jamesh wrote:
Fri Mar 13, 2020 7:50 am
AviatorNL wrote:
Thu Mar 12, 2020 10:37 pm
Still have this problem with Windows 10 x64
Are you sure you are running 1.2? The error message has been removed aiui, so it would be odd to still get it.
Minor point, but having just reinstalled it there are now two indistinguishable entries in the pop-up menu. This is on Mint-19 running Mate, so a Ubuntu derivative.
PeterO
Yes, I run V1.2

Re: Imager says "error writing to storage (while flushing)"

Posted: Fri Mar 13, 2020 8:45 pm
by DougieLawson
jamesh wrote:
Fri Mar 13, 2020 7:50 am
Are you sure you are running 1.2? The error message has been removed aiui, so it would be odd to still get it.
Thank you James. The current version has a clear display of version info and installed without the scary Win10 [You're going to destroy your system] pop-up.

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon May 18, 2020 4:04 pm
by Area30
Hi,

using Raspberry Pi Imager v1.2 on Windows 10, I still get the message "Error writing to storage".
I try to write Raspian Lite to a 4 Gb SD-Card. The card can be written with W32 Disk Imager or with Etcher without problems.
RPI-Imager-Error.png
RPI-Imager-Error.png (27.81 KiB) Viewed 1292 times
Any hints?

Regards
Area

Re: Imager says "error writing to storage (while flushing)"

Posted: Mon May 18, 2020 5:23 pm
by sjz
I have the same problem and have been able to determine that it (so far) seems to be related to USB3.x read/write. In addition to the imager ultimately help identify several bad SD cards, I have only been able to successfully image on a USB2.x port using the same SDCard adapter (the adapter itself is just fine).

I am unsure (because I have spent almost no time looking for it) what the ACTUAL error means. I hope to download the sources later (I believe that it's open source) and see what more I can learn. I am writing this primarily because I want to note that others have this issue, and that I have, through trial-and-error, identified a place to begin looking for a solution.