erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

read only sd card after a mishap "[solved]"

Fri Nov 23, 2018 1:11 pm

Hi all,

situation as follows: raspberry pi broke in half (no comment), now trying to fsck or reformat the card and it's read-only:

fdisk: cannot open /dev/mmcblk0: Read-only file system

device notifier shows three partitions, /root, /boot, and /SETTINGS

trying to check /boot partition on the card - the only one I can mount, gives that:

fsck.vfat /dev/mmcblk0p6
fsck.fat 4.1
open: Read-only file system

What to do?
Last edited by erg on Tue Jan 21, 2020 6:43 pm, edited 1 time in total.

epoch1970
Posts: 5128
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: read only sd card after a mishap

Fri Nov 23, 2018 1:18 pm

Buy another one, it's dead.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

Re: read only sd card after a mishap

Fri Nov 23, 2018 1:27 pm

Right, could you elaborate, please?
I'm not an expert on those things so it puzzles me how come I can see the partitions, even open one of them and see the files and the card is broken?
I can see the /boot partition (vfat I guess)

mattmiller
Posts: 2243
Joined: Thu Feb 05, 2015 11:25 pm

Re: read only sd card after a mishap

Fri Nov 23, 2018 1:42 pm

SD cards can go into a read-only mode at end-of-life

So you'll need a new card

erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

Re: read only sd card after a mishap

Fri Nov 23, 2018 4:02 pm

ok then. I see. Only, why would that happen? It's less than a year that I was using it....

epoch1970
Posts: 5128
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: read only sd card after a mishap

Fri Nov 23, 2018 4:12 pm

When that Pi broke in half (...), the SD lost power at the wrong moment or received some other injury, and it went into degraded mode.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

erg
Posts: 19
Joined: Thu Oct 25, 2018 5:41 pm

Re: read only sd card after a mishap

Fri Nov 23, 2018 4:30 pm

Thanks for that explanation. Tough luck.

Return to “Troubleshooting”