If you have "Optimize for quick removal" enabled on your removeable device it should be OK to unplug. I always use "Safely remove" icon because I have had corrupted USB sticks anyway. Don't trust Windows to get it right.
I have that enabled. I guess I won't trust Windows.
bman said:
Try running "chkdsk /f" on that drive to ensure the FAT32 filesystem is intact.
When in doubt, re-format if you already have your data in a backup.
There were no errors, but I reformatted anyway. A few times just because formatting is the only thing that's fast. For now, everything seems to works fine.
Thanks for helping.
-edit-
Oh no it's back!
I tried GMenu2x - autodetect programs and all was fine. It stored files and they are still there after reboot.
However, any file I change (i.e. move to another section) gets corrupted. It works until I restart GMenu2x and the edited links are gone. Examination shows the corrupted file data is changed to
"ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ"(...)
Sigh..
GMenu2x sais on the 'taskbar':
1868/3887 MB on a 8GB SD card. Is this a bug, or does this mean my card isn't properly detected?
(Windows corrupts files, too, but it sais the size correctly.)
Would formatting the card ext2 help? I think this is not fs related but not sure anymore..
-edit-
All files I copy are ÿÿÿÿÿÿÿ(...) now. (I tried creating links for GMenu2X manually.)
Here's an interesting
"chkdsk /f" output:
CODE
D:\Documents and Settings\God>chkdsk /f f:
The type of the file system is FAT32.
Volume RED_GP2X8GB created 8/8/2008 3:52 PM
Volume Serial Number is 54E6-B764
Windows is verifying files and folders...
Removing nonvalid long folder entry from \gmenu2x\sections\found gpe...
D:\Documents and Settings\God>chkdsk /f f:
The type of the file system is FAT32.
Volume RED_GP2X8GB created 8/8/2008 3:52 PM
Volume Serial Number is 54E6-B764
Windows is verifying files and folders...
Removing nonvalid long folder entry from \gmenu2x\sections\found gpe...
Note that it gets fixed every time, and I cannot delete the folder in explorer because windows claims the folder is not empty, even though it is and I think it wasn't even there before I ran chkdsk.. because I just deleted it.
Out of frustration, I'm going to format the SD card to ext2. To rule out Windows flockups.
-final edit-
I read
here that although ext2 is supported, it's a bad idea and comes with a hassle to activate it. So I crawl back to FAT32.
In another topic
about failing SD cards, someone wrote this hint:
imhotep said:
You may as well try 'zero-filling' the card with
HDD Low Level Format Tool. It fixed one of my 4GB SD's a few months ago. It takes about 15 minutes and then you need to pull card out of PC reader, reinsert it, then format.
So I
dd'ed zero's on the card using Linux:
CODE
sander@MC-RED:/dev$ sudo dd if=/dev/zero of=/dev/sdb
dd: writing to `/dev/sdb': No space left on device
16382977+0 records in
16382976+0 records out
8388083712 bytes (8.4 GB) copied, 3610.97 s, 2.3 MB/s
Took approximately exactly an hour..
On the other hand,
this topic has some useful info too:
juanvvc said:
You can format your SD cards in EXT2 and the Gp2x will support them. Just modify /etc/fstab in your Gp2x to mount EXT2 as the default filesystem for SDs. You can even write a simple script to mount the SD as EXT2 and if it fails, try FAT32.
But how do I edit the fstab? It's quite easy using the F100, but how do I do it on F200?
Is there an option to mount with a speed limit? Maybe 1Mbps tops will keep this SD on track.
Anyway in the mean time, I used gPartEd to create FAT32 again on the card. This time in linux. Having the card in the GP2X to transfer everything back. 2,5MBps is a slow pony, so I'll get back with good or bad news later.
-update-
Questions still stand. But I am dubbing this 'broken SD card' because errors are inconsistent.