Topic: MicroSD corrupt?
Hello.
I am using a 8 GB MicroSD card which holds the OS that I am using in a Cubox.
Everytime I open the MicroSD with GParted it shows me a warning sign.
When I right-click and few the information it tells me that there is a bad magic number in the superblock.
After searching for a little while I have found out I could try to restore it like this:
sudo mke2fs -n /dev/xxx
# will display block numbers where superblock backups are
sudo e2fsck -b block_number /dev/xxx
I have tryed every block number but for every one I got an error.
Is the SD Card broken?
And if backup the content of the sd card with dd, will this error be transported to the new card?
Edit: this however doesn not happen if I create a partition table in windows and format is as fat32. as soon as I delete the fat32 partition and create a new one with gparted, the warning sign returns.
sudo fsck -r /dev/mmcblk0
fsck from util-linux 2.26.1
e2fsck 1.42.12 (29-Aug-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk0
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
/dev/mmcblk0: status 8, rss 2536, real 0.015498, user 0.000000, sys 0.000000