You are not logged in.

#1 2015-12-31 13:24:18

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

repair FAT

The FAT filesystem of the sd card of my Android phone seems to have been corrupted when the battery was knocked loose while it was running (don't ask tongue). I made images of the disk and the partition using ddrescue. I ran `sudo dosfsck -a -w -v part.img` on the image of the partition. This was the output,

fsck.fat 3.0.28 (2015-05-16)
Logical sector size (10512 bytes) is not a multiple of the physical sector size.

I don't know where to go from there. I am trying to fix this from my Arch system because I don't have a usable Windows machine. I don't even know if it is possible to fix. I already recovered some important files using Photorec.

Thanks in advance.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#2 2015-12-31 19:44:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: repair FAT

I usually run this on my EFI partition (FAT32) but perhaps it is identical to your call to dofsck... also no idea about hitting an image with the command.

fsck.fat -a -w -v /dev/sda1

Offline

Board footer

Powered by FluxBB