View Single Post
Posts: 73 | Thanked: 47 times | Joined on Aug 2010
#21
Originally Posted by michaaa62 View Post
Try fsck after unmounting the partition. First find out the partition to check
Code:
mount
This will list every mounted partition and folder. Identify the partition mounted at /home/user/MyDocs, may be /dev/mmcblk0p1, the default.
The code lists a bunch of mounted things, among which:

/dev/mmcblk0p1 on /home/user/MyDocs

Unmount the partition
Code:
umount /dev/mmcblk0p1 #OrYourPartitonHere
With "#OrYourPartitonHere" is replaced by "/home/user/MyDocs"

Return:

"umount: cannot umount /dev/mmcblk0p1: invalid argument" without the quotes

Despite not being able to umount the partition, I proceed with this:

Check the file system
Code:
fsck -af /dev/mmcblk0p1
The "fsck" indentified some problems, did some autocorrection. The problems turn out to be because I play some games stored on the external memory card with DrNokSnes or iNES and stop in the middle when the phone froze.

Then, if everything goes well, mount it back to its place
Code:
mount /home/user/MyDocs -o rw
Everything goes back to normal. THANK YOU. YOU SAVE ME alot of time and troubles.

I will copy all games to the internal eMMC to play to avoid this error.

Should I convert all the /MyDocs partition to ext3 instead of Vfat to completely prevent this stupid read-only problems? I have a 16GB external memory card, which I think is enough to communicate with the Windows PC.

Last edited by Duy2anh; 2010-12-31 at 01:17.