Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Corrupted FAT
« previous next »
  • Print
Pages: [1]

Author Topic: Corrupted FAT  (Read 1434 times)

Offline Chuck

  • Member
  • *
  • Posts: 6
Corrupted FAT
« on: December 01, 2007, 12:03:36 PM »
Just wanted to contribute my experience about a goofed up FAT and files in my iPod 60gb 5G.

Not sure how the problem originally happened.  It did not occur after an upgrade of Rockbox.  But it may have happened because I put my XP computer into Standby after iPod charging was done, in order to get XP to release the iPod, since I was in a hurry and it was not releasing otherwise.  I do not know if going to Standby flushes the writing cache on removable drives, but maybe not.

Anyway, on the next Rockbox start, fonts were messed up.  Font folder and a couple files in the \.rockbox folder had corrupt filenames.  After searching the forum I tried using the suggested chkdsk utility from a command window.  Many errors were found, including 6gb of lost drive space.

But chkdsk refused to fix the errors, saying ‘another program was using the file system’ and to stop that program.  Not possible.  Over several weeks, I tried many things, including booting into the iPod software and working from there, but nothing succeeded.

Then, after more searches of the forum, I came across a very brief mention of a Windows scan disk function.  Further searches elsewhere indicated that is accessed in XP by right-clicking on the removable drive, choosing Properties > Tools > Error-checking > Check now.

I checked “Automatically fix file system errors”, and started it.  Interface between my XP and the iPod using USB 2.0 is always *very* slow, and the process took about 15 minutes.  There was no information on what it had done or found, but when it was finished, another run of chkdsk showed everything 100% okay, all corrupt filenames removed, and a folder added with the corrupted chains in it.

And the lost 6gb was recovered.

So, if you have a similar problem and chkdsk will not do the trick, try the scan disk utility found in XP under Properties of the drive in question.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Corrupted FAT
« Reply #1 on: December 02, 2007, 12:59:05 AM »
Scandisk does the exact same thing as chkdsk.  I think that when you went to run scandisk, whatever process was using the files had finished. You can use unlocker to see what files are in use.
Logged

Offline Chuck

  • Member
  • *
  • Posts: 6
Re: Corrupted FAT
« Reply #2 on: December 02, 2007, 04:08:47 AM »
Thanks for the link.

However, I have to seriously doubt that there is no difference between the two programs, because I had been trying chkdsk for weeks, and had tried it just minutes before using the Windows scan disk option.  Seems highly unlikely to me that the file system would have been released at the very moment I tried the Windows alternative, when I had been working unsuccessfully with chkdsk for over a month.  It would be a major fluke if that happened.
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Corrupted FAT
« Reply #3 on: December 02, 2007, 06:43:30 AM »
What was the exact command you used when manually running chkdsk?
Maybe you didn't use the /X parameter.
Logged

Offline Chuck

  • Member
  • *
  • Posts: 6
Re: Corrupted FAT
« Reply #4 on: December 08, 2007, 11:55:25 AM »
I used both /F and /X commands.  Actually /F asked if I wanted other applications dismounted thereby losing all handles--which I have to assume is the same as initiating the /X switch,--but responding affirmatively made no difference.  The next dialog was always that the requested task could not be performed.

Chkdsk could not do the job; the Windows XP scan function did.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Corrupted FAT
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.071 seconds with 15 queries.