Jump to content
Moodkiller

Micro SD Card 'write protected' problem

Recommended Posts

Wondering if any one else might have some other solution to being able to format a 'write protected' micro SD card. It has an installation of Linux on it which has become corrupt. 


 


When I try and format the card with SDFormatter, it reports that the card is write protected. I am using an adaptor plugged into my laptop and have taped up the lock key to assure it doenst get switched when plugging it into the laptop. So I'm confident its not a hardware issue. 


 


Things I have tried:


 


• Formating through windows 7, I.e. right click > format (write protected error)


• Using 'disk part' suggestion ('attributes disk clear readonly' command <-common Google suggestion)


• Registry tweak changing StorageDevicePolicies (http://www.tomshardware.com/forum/24736-63-format-write-protected-micro-card#10460239)


• Plugging the micro SD card into an android device and formating through there. This "formats" it, but still displays all the content and removes nothing from the disk.


• Using a different laptop and OS (Windows 8.1 vs 7)


• And as I mentioned earlier, using SDFormatter.


 


At this stage I dont know what else to try. 


Edited by Moodkiller

Share this post


Link to post
Share on other sites

I seriously hope not... This has happened before ("linux" becoming corrupt I mean), but that time around I was able to just reformat and move on. I also say "linux" as its really Raspbian. Its the card that I use on the Pi. I was leaning towards it being a software issue due to this happening once before. There are obviously some major stability issues. 


 


If it were 'ded', do you think that Windows would still have detected it? I would have imagined that it wouldn't have and that I could not have read the files on the disk...


Share this post


Link to post
Share on other sites

Why even fret over this? micro SD cards are as cheap as chips. Get a 8gb one for testing your various things; namely your card reader and card adapter. If they work, buy a new U3 or something.

Share this post


Link to post
Share on other sites

Why even fret over this? micro SD cards are as cheap as chips. Get a 8gb one for testing your various things; namely your card reader and card adapter. If they work, buy a new U3 or something.

 

I was hoping not to spend anymore on something that could possibly be fixed. As for card readers and adaptors working, I tested the same adaptor in the same computer with a different micro SD card and it reads fine/formats as it should. Ruled out hardware issues.

 

Have you tried formatting it with linux? Something like gparted or even dd should be able to do it. 

 

I havent. I was also hoping this may be a last resort as I would have to install linux in a VM environment, set it all up to access the card and then go through with the formatting. Because Im lazy like that. Looking up dd, would something like this work? 

Share this post


Link to post
Share on other sites

That zeros the drive... You honestly don't need to bother with that if you're going to write more data to it.

If you are going to go the Linux route, try `sgdisk -Z /dev/superblock' first.

Share this post


Link to post
Share on other sites

Yes it should, but johnflower is also right. If you go the dd route, i'd use something like lsblk in your terminal to make sure you have the right drive. You don't want to dd the wrong drive.


 


Any live distro should come with dd so you shouldn't need to worry about installing anything.


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...