View Single Post
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#13
Originally Posted by sub7 View Post
well i try this but gparted dont repair nothing but and if i do fsck to test, give one error.

Code:
sudo e2fsck -n /dev/sdb1
the error sorry it's on spanish, i got this on ubuntu
Code:
e2fsck 1.41.12 (17-May-2010)
e2fsck: Superbloque es inválido, intentando los bloques de respaldo...
e2fsck: Bad magic number in super-block mientras se intentaba abrir /dev/sdb1

El superbloque podría no ser leido o no describe un sistema de ficheros ext2 correcto.
Si el dispositivo es válido y en verdad contiene un sistema de ficheros ext2 (y no uno 
de intercambio, ufs o algo más), entonces el superbloque está corrompido
y podría intentarse ejecutar el e2fsck con un superbloque alternativo:
   e2fsck -b 8193 <dispositivo>
EDIT: it seems i only got this error when i do e2fsck on fat32 partitions, because i try to do it on the sdcard where i have nitdroid and i get the same.
That's because e2fsck is for ext2/ext3/ext4 partitions. You want to use dosfsck for FAT partitions. Or you could try the generic fsck, which should work out which fsck program is needed for the filesystem you want to check.