pcote_pi
Posts: 38
Joined: Mon Nov 03, 2014 12:29 am
Location: Montréal

Cannot repair file system

Thu Nov 06, 2014 7:56 pm

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

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Cannot repair file system

Thu Nov 06, 2014 8:05 pm

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

pcote_pi
Posts: 38
Joined: Mon Nov 03, 2014 12:29 am
Location: Montréal

Re: Cannot repair file system

Thu Nov 06, 2014 8:30 pm

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.

Return to “Troubleshooting”