If the superblock is corrupted, you can't determine the block size anymore. If it is not currupt yet, you could find out with "dumpe2fs" device | more" (displayed something like "Blocks per group", nr 1 would be first superblock, next would be e.g if blocksize is 8192, 8193). In most cases, the 2nd alternate superblock is at offset 8193.
--> e2fsck -f -b offset device
In general, correct syntax you get with
--> command --help
and / or
--> man command
Are you sure you have ext2 and the partition is corrupted?
Are you still able to mount it?
fsck should be applied on non-mounted partitions only.
|