this post was submitted on 12 Jun 2024
11 points (86.7% liked)

Raspberry Pi

853 readers
1 users here now

Welcome to the programming.dev Raspberry Pi community!

Raspberry Pi is a series of small single-board computers. It is widely used in many areas because of its low cost, modularity, and open design. It is typically used by computer and electronic hobbyists.

Rules

Members of this community are expected to exhibit mature and respectful behavior.

Those who fail to uphold these standards may find their posts or comments removed, with repeat offenders potentially facing a permanent ban.

Please keep discussions in English so that they can be appropriately moderated.

Links

founded 1 year ago
MODERATORS
 

Cross post

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (1 children)

Okay, when you're having issues with an SD card not formatting, I always try the following steps first. Open powershell or cmd prompt in admin mode then try:

diskpart

list disk

select disk

clean

create partition primary

format quick

Then give it another go. This will often resurrect dead drives/cards/USB sticks or reset them back to their old capacity when it displays wrong.

[–] [email protected] 1 points 2 months ago (1 children)

Are there even any "next steps" after doing this?

I don't mean to sound contrary! I'm genuinely curious. Because it seems like diskpart is a pretty low level tool, so if this trick fails, I'm wondering have you pretty much eliminated software related causes?

[–] [email protected] 2 points 2 months ago

There may be using a card/drive manufacturers utility but I'm not sure beyond that. I'll usually abandon a drive or card if this doesn't work. With that said, someone smarter than me may have some other suggestions (linux-based?) using gparted or another tool.

[–] [email protected] 2 points 2 months ago

I would try again with another SD card, if I had one.