maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   Several FAT partitions? (https://talk.maemo.org/showthread.php?t=24722)

Laughing Man 2008-11-02 16:17

Several FAT partitions?
 
Well I was using Canola Beta 10 last night and tried out the photocast feature. My tablet frooze (hard buttons and touchscreen wouldn't respond) and at a loss of how to shut it down I had to remove the battery.

Booted into flash, did a fsck right away (a while back I killed a 16 GB card like this and had to get it repaired through warranty).

Everything seems fine, booted to SD. Yup works. But I went back to flash and did a manual fsck (I use Penguinbait's install tools advance so it does an auto fsck on boot).

It seemse my /dev/mmcblk1p1 partition has two FAT partitions? And both seems to report the wrong size oddly. But the tablet's memory page only shows the full partition, conky does, and diskusage does. It'll typicall say something like

Anyway, so I try to select one of them, then it reports the size error and asks me if I want to leave it alone or fix it. I input the # for fix it and it doesn't seem to run the command and quits out of the prompt.

Specifically..

FATs differ but appear to be intact. Use which FAT?
1) Use first FAT
2) Use second FAT
?

(I choose either of them)

Then the scrolling #s come up (blocks) then..

Reclaimed 7 unused clusterse (229376 bytes).
Free cluster summary wrong (405808 vs. really 405815)
1) Correct
2) Don't Correct
?

At this point clicking either # will just result in it turning back to the regular prompt.

ace 2008-11-02 16:55

Re: Several FAT partitions?
 
There's two FATs in a FAT filesystem for redundancy. http://en.wikipedia.org/wiki/File_Al...n_Table#Design

ace 2008-11-02 16:58

Re: Several FAT partitions?
 
Quote:

Originally Posted by Laughing Man (Post 238712)
...I input the # for fix it and it doesn't seem to run the command and quits out of the prompt...

What command and arguments are you running? By default, fsck doesn't fix problems. You need to use the "-a" or "-r" options.

Laughing Man 2008-11-02 18:52

Re: Several FAT partitions?
 
Quote:

Originally Posted by ace (Post 238718)
There's two FATs in a FAT filesystem for redundancy. http://en.wikipedia.org/wiki/File_Al...n_Table#Design

Ah thanks, though that never showed up before?

And I didn't use the -r command, good point. I'll go try that as soon as Windows is done doing the error-checking on it.

ace 2008-11-02 19:05

Re: Several FAT partitions?
 
Quote:

Originally Posted by Laughing Man (Post 238747)
Ah thanks, though that never showed up before?

If the two FATs were consistent, fsck wouldn't complain. So, one got corrupted, the disk was removed before the second could be updated, etc.

Laughing Man 2008-11-02 19:08

Re: Several FAT partitions?
 
Ah ok, any painless way to fix this? (if the Windows disk check doesn't do anything). Will a normal fsck.vfat -r do it?

ace 2008-11-02 19:36

Re: Several FAT partitions?
 
"fsck -r whatever" will repair the fs, prompting you for confirmation of different fixes. You probably don't need to specify the ".vfat", it'll detect the fs type automagically.

Edit: actually, on the N800, you probably do need to specify ".vfat".


All times are GMT. The time now is 14:06.

vBulletin® Version 3.8.8