Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rapsberry Pi Imager makes SD cards unusable #28

Closed
RyanNgCT opened this issue Mar 9, 2020 · 29 comments
Closed

Rapsberry Pi Imager makes SD cards unusable #28

RyanNgCT opened this issue Mar 9, 2020 · 29 comments

Comments

@RyanNgCT
Copy link

RyanNgCT commented Mar 9, 2020

My 32GB Samsung EVO micro-SDHC UHS-1 Card cannot be read with my Mac now after failing to be formatted with the Raspberry Pi Imager.

^ I commented this yesterday on the imager page.

I would like to find out if there is a way to repair the sd card as it is not possible with Mac OS X Mojave's Disk Utility Application.

Thanks.

Ryan

Screenshot 2020-03-09 at 8 12 32 PM

Another user had a similar problem.
I quote:
"I have tested this application with 3 different SD cards and in all cases it fails. Moreover after retrying the procedure the SD card become unusable and my Windows 7 computer can not longer read it, it looks like that thy have been damaged by the tool.

I have used 1 32GB and 2 64GB and in all cases the 3 SD cards are broken due to the tool.

Have you experienced this problem?
Any workaround recover my damaged SD cards ?

Thanks,
Antonio"

@maxnet
Copy link
Collaborator

maxnet commented Mar 9, 2020

Try the "erase" option in the Raspberry Pi Imager.

@RyanNgCT RyanNgCT closed this as completed Mar 9, 2020
@RyanNgCT RyanNgCT reopened this Mar 9, 2020
@RyanNgCT
Copy link
Author

RyanNgCT commented Mar 9, 2020

the problem is the card does not even get detected...
Screenshot 2020-03-09 at 8 21 15 PM

@RyanNgCT
Copy link
Author

RyanNgCT commented Mar 9, 2020

Oops accidentally closed the issue...

@maxnet
Copy link
Collaborator

maxnet commented Mar 9, 2020

When you insert a SD card without partition table, it should show you a dialog like this:

64F51EE5-B920-40CD-95A7-65C636BE293D

Make sure you press "Ignore" there -and not "Eject"-
Then the card do should be visible in the imager.

@maxnet
Copy link
Collaborator

maxnet commented Mar 9, 2020

BTW your screenshot shows "Writable: no"
Is it perhaps a full size SD card that has a switch on it to write protect it?

@RyanNgCT
Copy link
Author

RyanNgCT commented Mar 9, 2020

Ok it works thanks for your help. But are there still issues with the imager?

@maxnet
Copy link
Collaborator

maxnet commented Mar 9, 2020

There should not be a problem with images you download using the utility.
You may have with custom images (already fixed in source)

@RyanNgCT
Copy link
Author

RyanNgCT commented Mar 9, 2020

Hmm but can I modify the image after it is flashed? I'm trying to do a headless Raspberry Pi 4 setup.

@RyanNgCT
Copy link
Author

RyanNgCT commented Mar 9, 2020

Because I may need to set up the ssh and config files.

@maxnet
Copy link
Collaborator

maxnet commented Mar 9, 2020

Just do not use the "use custom" option in the Imager until a new version is released.

@RyanNgCT
Copy link
Author

RyanNgCT commented Mar 9, 2020

Ok noted with thanks!

@maxnet maxnet closed this as completed Mar 9, 2020
@lurch
Copy link
Contributor

lurch commented Mar 14, 2020

I may need to set up the ssh and config files.

#12 discussed that...

@ghollingworth
Copy link
Contributor

ghollingworth commented Mar 14, 2020

This issue has now been fixed, you can use the "use-custom" option again... Just reinstall the application to pull in v1.2

@lars-dev
Copy link

lars-dev commented Apr 12, 2021

I seem to have the same problem. Two different micro SD cards are broken after use of Raspberry Pi Imager V1.6.1
Both cards are 16GB but different brands.

The first card was never fully able to get an image written on it. It now only shows um as Generic Storage in disk utility.
image

I tried to format the card with disk utility and terminal. It always shows the same error.
image

Same issue when trying to erase the card on a windows machine.

When i use the erase option of Raspberry Pi Imager it tells me that it was successful but basically nothing changed.
image
image

After that when I try to write the image to the card it still shows:
image

this is the info I get in terminal
image

When trying to format it with terminal i get the same error:
image

This shows up in System Information
image

I did a few restarts in between and tried again but nothing. So I assume it is broken.

The second micro SD card is even weirder.
It mouted normally and I was able to start writing the image to it with Raspberry Pi Imager. It went up to around 99% (maybe even 100%) and then gave me some error.
I thought, thats odd but since writing worked this time I just wanted to try again.
So i unplugged and the card, plugged it back in..... Nothing
No message about not having the correct file system, no indicator in disk utility, no list in terminal (diskutil list) ....nothing
image

The only place I was able to find the card was in the System Information:
image

When I try on a windows machine it will show up as /D: . I am able to change that to eg /E: but it does not have any partition or similar that I could address to be erased.
Similar to mac it shows up as a USB Storage but I cant do anything with it.

So that card seems to be (even more) broken too.
The cards were both Class 10.

Any suggestions. I just want to avoid buying and immediately breaking new SD cards.

@lurch
Copy link
Contributor

lurch commented Apr 12, 2021

Do you have a different SD card reader that it might be worth trying? I dunno if it'll help, but see also https://github.com/balena-io/etcher/blob/master/docs/USER-DOCUMENTATION.md#recovering-broken-drives

@lars-dev
Copy link

lars-dev commented Apr 12, 2021

Yes
Sorry i did not mention that
Have two different card readers on hand.
Maybe I was just unlucky and the sd cards were close to their last days anyways

@lurch
Copy link
Contributor

lurch commented Apr 12, 2021

As extensively explained here it's not possible for application software to "break" SD cards.

@ghollingworth
Copy link
Contributor

ghollingworth commented Apr 13, 2021

Were they good quality branded SD cards? i.e. something like Sandisk?

We currently only recommend Sandisk (we've been testing many different SD cards in an automated SD card test system and the Sandisk cards have been the most reliable so far).

@lars-dev
Copy link

lars-dev commented Apr 13, 2021

It seems like I just got unlucky. Got new SD Cards and they worked as they were supposed to. The other two cards are still "broken" though.
And even if that might be the wrong word.... in the end of the day I can not use them anymore. That to me is broken.

@mnr
Copy link

mnr commented Sep 27, 2021

I have two 16gb PNY SD cards that exhibit this same problem. Both Mac, Windows, and RPi believe the disks are write-protected. This happened after reformatting them with the RPi Imager on a MacBook Pro with a USB C Hub Adapter. I'd be happy to mail these two cards to anyone with forensic chops to determine what's up.

I've already tried to remove write-protected files, tried hard-reformat, tried reformat with the SD card formatter from the SD card association, etc.

MNR

@Farmerbrown87
Copy link

Farmerbrown87 commented Oct 6, 2021

Hi, I am having the same issue and have 'bricked' four SD cards. Attempts made with the following bits...

hard

  • Raspberry Pi 3 B+
  • two × SanDisk Ultra 128 GB microSD cards
  • two × SanDisk Extreme PRO 64 GB microSD cards (new)
    soft
  • Raspberry Pi Imager v1.6.2
  • Raspberry Pi OS (32-bit) release 2021-05-07
  • Raspberry Pi OS Full (32-bit) release 2021-05-07

@mnr was the issue with the same version of the imager?

@lurch
Copy link
Contributor

lurch commented Oct 6, 2021

@Farmerbrown87 Have you tried using a different USB SD card-reader?

@mnr
Copy link

mnr commented Oct 7, 2021

My version of RPi Imager is 1.6.2. It is the same version as @Farmerbrown87 .

@lurch - I have a USB hub. Here's the product details from Amazon... USB c hub adapter for MacBook Pro

I have used the SD card formatter with this usb hub and Macintosh to successfully format an SD card.

AND...I have now successfully formatted an SD card using the RPi imager with this MacBook and USB hub.

@lurch
Copy link
Contributor

lurch commented Oct 7, 2021

@mnr Yeah I'd assume that anything with a USB-C connector is new enough to fully support SDXC cards 🙂

@Farmerbrown87
Copy link

Farmerbrown87 commented Oct 7, 2021

@lurch I have tried an old card-reader, Kingston MobileLite G3 (USB 3.0).
The first card-reader [edit] I tried was Anker USB C Hub.

I've successfully imaged a diet-pi OS for PiHole using the Anker hub for an OG Raspberry Pi.

I will borrow my partners Macbook and see if that works... watch this space!

@Farmerbrown87
Copy link

Farmerbrown87 commented Oct 12, 2021

Update.
I have tried writing the microSD card with the Macbook and tried yet another SD card as well.
I have also purchased the official RPi power supply.

Still it is not working.

What else can I troubleshoot here before I determine the RPi needs to go back to the supplier?

thanks in advance

@lurch
Copy link
Contributor

lurch commented Oct 12, 2021

@Farmerbrown87 In an earlier message you said that RPi Imager was "bricking" your SD cards, and now you seem to be implying that the problem is only that your RPi isn't booting? Did the verification step in RPi Imager work?
For these kinds of non-booting support issues I think you'll get much more rapid and detailed help on the forums.

@Farmerbrown87
Copy link

Farmerbrown87 commented Oct 12, 2021

@lurch The verification step did work yes. I think you are right, I was confused about the SD card behaviour earlier and did not realise i had to eject and reinsert the SD card in order to view the 'boot' sector and add the SSH / wifi files. It does appear that the RPi itself is not booting. I will follow this to the forums, many thanks.

@MichaelVanEnde
Copy link

MichaelVanEnde commented May 19, 2022

I have encountered the same isseu with the v1.7.2 release.
image
I tried with 3 SD cards ( one is new) SanDisk Ultra. with differend adapters. Even without changing the settings i encounter the problem.
the restore my SD cards i had to "Erase" it withe the RBP Imager and then i got the following errer:
image
after this error you can format the SD card again with via windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants