Skip to content

Cannot format read only sd card

From my arch machine, I would like to install the raspbian os on an SD card. However I cannot seem to do anything with it as it is a read only file system.

This is what I have tried after inserting the SD card:

1: sudo mkfs.fat -F 32 /dev/mmcblk0. I get the error message: mkfs.fat: unable to open /dev/mmcblk0: Read-only file system

2: sudo wipefs --all /dev/mmcblk0. I get the error message wipefs: error: /dev/mmcblk0: probing initialization failed: Read-only file system

What can I do to take control over the sd card?

7 points10 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 77% up
Kind
Text
ID
sem5nd

Author

20
posts
24
comments
1
media
View profile
No comments archived yet. Reddit counts 10.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.