Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got an SD card I've accidentally removed without unmounting on an Android phone. After this, the card shows up as having files with garbage names and dates. Seems, that FAT got broken but I cannot run fsck on this drive:

$ sudo dosfsck -n /dev/sdb
dosfsck 3.0.7, 24 Dec 2009, FAT32, LFN
Logical sector size (64543 bytes) is not a multiple of the physical sector size.

How I can work around this error and recover the data?

share|improve this question
add comment

1 Answer

While it doesn't help to repair the file system, the error actually means that you have to specify partition and not disk to fsck:

$ sudo dosfsck -n /dev/sdb1

as opposed to

$ sudo dosfsck -n /dev/sdb
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.