LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How to Fix Bad Superblock on Pen Drive. (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-fix-bad-superblock-on-pen-drive-4175557123/)

hack3rcon 10-25-2015 10:51 AM

How to Fix Bad Superblock on Pen Drive.
 
1 Attachment(s)
Hello.
I have a Silicon-Power16G and when I attached it to my system it show me :

Error mounting: mount: /dev/sdc: can't read superblock

I did "sudo fsck /dev/sdc" and it show me :

$ sudo fsck /dev/sdc
fsck from util-linux 2.20.1
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 2
Both FATs appear to be corrupt. Giving up.



Then I tried :

$sudo dumpe2fs /dev/sdc | grep superblock
dumpe2fs 1.42.5 (29-Jul-2012)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sdc
Couldn't find valid filesystem superblock.

How can I solve it?

Tnx.

Emerson 10-25-2015 12:43 PM

Some thumbdrives are partitioned, did you try /dev/sdc1 ?

hack3rcon 10-26-2015 04:27 AM

I did it but not matter.

It is a little odd for me. I reformat it to "Ext3" and I guess problem Solved :)


$sudo mkfs.ext3 /dev/sdc
[sudo] password for jason:
mke2fs 1.42.5 (29-Jul-2012)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) y
warning: 512 blocks unused.

Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
984960 inodes, 3932160 blocks
196633 blocks (5.00) reserved for the super user
First data block=0
Maximum filesystem blocks=4026531840
120 block groups
32768 blocks per group, 32768 fragments per group
8208 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done


All times are GMT -5. The time now is 01:48 AM.