On a Linux computer, reading SD MMC Cards which have a MicroSD Adapter to insert a micro SD card for reading works fine. However, the problem arises when data is to be written to such the micro SD card in the SD MMC adapter. There are errors that the user does not have rights to write anything on it. This error also occurs even if logged in as a root user.
To overcome this problem, I opened a terminal window did the following steps:
- Insert the micro SD card in the SD MMC Micro SD adapter and insert the adapter in the computer’s slot.
- Check it’s device name using:
[11044.728770] scsi host1: usb-storage 1-7:1.0
[11045.728879] scsi 1:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4
[11045.798899] sd 1:0:0:0: Attached scsi generic sg1 type 0
[11046.767776] sd 1:0:0:0: [sdb] 31291392 512-byte logical blocks: (16.0 GB/14.9 GiB)
[11046.656777] sd 1:0:0:0: [sdb] Write Protect is off
- In my case, it listed /dev/sdb as the name of the device.
- Do a disk dump of any image to the device /dev/sdb. I used the Xubuntu distribution image file to dump to the device.
sudo dd if=~/xubuntu.img of=/dev/sdb <enter>
- Check in the file manager that you can see the files on mounting the card.
- Next, open Systems->Disks and format the drive as desired.
Now, the micro SD Card within the SD MMC mico SD card adapter does not give the read only error.