Tudo que eu queria era formatar o Micro SD Card! In the first moment, tentei pelo Windows, mas não funcionou. Achei estranho, parti para um Linux Ubuntu na VM Virtubal Box, quando me deparei com o seguinte erro:
Error mounting /dev/sdb2 at /Media/myuser/61187ff0-d686-48dd-832and-f8f0589696e9: Command-line `mount -t "ext4" -the "uhelper=udisks2,nodev,nosuid" "/dev/sdb2" "/media/myuser/61187ff0-d686-48dd-832e-f8f0589696e9"' exited with non-zero exit status 32: mount: /dev/sdb2 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.
And still it:
Disk write-protected; use the -no option to the the read-only
It seemed obvious, the message indicated that the disk was write protected (read-only / read only), at the same time there was something related to “bad superblock”, But even trying to multiple commands, not solved.
I did some research on Google and found several Posts, until finally a light:
– How to recover from a bad superblock
– How to access an SD card from a virtual machine
– Repair the corrupt Linux ext4 file system and recover superblock
– Unable to open read-write/dev/sdb (Read-only file system)
– HOWTO: Repair a broken Ext4 Superblock in Ubuntu
– How to repair corrupted fat32 sd card superblock
– USB turn write protection off
The solution was simple (to find out) and reminded me of the days of floppy disks. What happens is that some SD cards and USB drives has a lock (lock) on the side of protecting the write disk. I confess that it never crossed my mind :'(
So, all it took was to release the latch and format typically.