<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 30 Apr 2019 at 13:38, Chris Bell via GLLUG <<a href="mailto:gllug@mailman.lug.org.uk">gllug@mailman.lug.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
Two of four PaspberryPi 2B computers appeared to have gained file problems <br>
within 24 hours, while there have been no problems with RaspberryPi 3B and 3B+ <br>
devices alongside, so I tried to install the latest Raspbian software to some <br>
MicroSD cards. The first two had been used before, but thought to be good, but <br>
neither managed to start a RaspberryPi. Thinking that they may have been <br>
corrupted I attempted to re-install the same version of Raspbian, but dd now <br>
reports that both are read only. I have tried several MicroSD to SD adapters, <br>
none of them is set to write protect, but both MicroSD cards now show as write <br>
protected. I then tried a new MicroSD card. It appeared to accept the file <br>
system from dd, but now shows empty and again shows as write protected.<br>
<br><br></blockquote><div><br></div><div>What does this report for the sd card:</div><div><br></div><div>hdparm -r /dev/sdb (where sdb is changed to match your sd card's device)</div><div><br></div>hdparm -r /dev/whatEverYourIs<br><div><br>/dev/sdb:<br> readonly = 0 (off)<br></div><div><br></div><div><br></div><div>If yours says "1"</div><div><br></div><div>try:</div><div>hdparm -r 0 /dev/whatEverYoursIs</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div>