Page 1 of 1

Cannot repair file system

Posted: Thu Nov 06, 2014 7:56 pm
by pcote_pi
Allo,

Model B+

By mistake I removed the SD card while it was running. Then I got a warning of potential file curruption and to use fsck. No matter how I use this function, nothing gets repaired. See below:

pi@pi-clear ~ $ sudo fsck /dev/mmcblk0p5fsck
from util-linux 2.20.1
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 1
Leaving file system unchanged.
/dev/mmcblk0p5: 15 files, 19619/120958 clusters

Re: Cannot repair file system

Posted: Thu Nov 06, 2014 8:05 pm
by DougieLawson
It's not important. The system booted OK so you can ignore that "error".

http://www.raspberrypi.org/forums/viewt ... 28&t=64843 gives the final fix.

Re: Cannot repair file system

Posted: Thu Nov 06, 2014 8:30 pm
by pcote_pi
What can I say ... thanks man! It works!!

I wish I knew what happened with this script. Scary complicated to me to fix a file system. But hey, it was fixed in seconds. But I feel that I need a PHD in linux to correct simple things.