SD card can not be formatted

When formatting, it always says write-protected under Windows (read-only) On Linux with fdisk is the deletion of the partitions, is not a failure message but with fdisk -l is everything as before.

I have tried several attempts from the net but no success. With me are already two cards defective, are nail new.

BANANA Pi images are written as byte-for-byte, which is the lowest level of copying. The image provides a new partition table, masterboot record, and formatting… Along with the OS code. Using ‘FDISK’ may have modified the card unnecessarily.

You need to use the ‘dd’ command in Linux, no need to format or partition.

So, the card doesn’t require formating before use. If the copy fails, reformatting isn’t necessary, and in Windows just confirms the card’s health and installs FAT format.

Perhaps, check the write protected feature on the card holder. Make sure you have privleges to use the Windows copy software.

If it isn’t that, it may be easier to attempt to install the Banana Pi image to the card in Linux with the ‘dd’ command. Then ‘fdisk’ should show two partitions: a boot partition for uboot, and a Linux partition for OS.

‘dd’ is slow! You must wait for a finished message to get a complete image copy. You may have a bad image, or you are may be attempting to read the Linux file system on a Windows OS.

It’s nearly impossible to say if the SDcard is corruptted or damaged beyond repair by a mistake or just defective merchandise.

But, there is good advice for SDcard repair in both Windows and Linux on the internet.

Your Read Only message is an indication of a corrupted SDcard. So Googling “SDcard repair” or “SDcard recovery” will offer good info in Linux or Windows.

Once the card is working again as a generic SDcard, you can retry installing your BPi image as the is confirmed good.

When copying the BPi image, stopping the process will put the card into a corrupted condition. You must wait for the computer to tell it has successfully finished.