Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .