maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [help] MyDocs partion not seen by file manager (https://talk.maemo.org/showthread.php?t=87414)

c4rl05 2012-10-15 17:43

[help] MyDocs partion not seen by file manager
 
i recently connected my n900 to a cmputer which i think it had viruses ( a window machine of course) because after i connected it, MyDocs partion didnt showed up with a normal mass storage icon instead it had a normal file icon, after i removed it i didnt looked it up on file manager ( i was busy doing a certain work), and i took it to another pc which had an antivirus ( the massage of Norton came up but i didnt bother i just cancelled them), but when i selected mass storage only my MMC showed up and MyDocs partition didnt showed up, i unpluged it from a pc and went to file manager but only MMC was there and not myDocs, i rebooted the phone but the same problem cant find it on neither file manager nor on filebox on mmc can seen, i dont know whats is the problem, when i viewed on xterminal i can see myDocs directory but it contains nothing.
Can somebody help me to bring myDocs partition back with its data

c4rl05 2012-10-15 19:21

Re: [help] MyDocs partion not seen by file manager
 
this is the output i get when i try to mount or umount it, via xterminal

~ $ sudo umount /dev/mmcblk0p1
umount: can't umount /dev/mmcblk0p1: Invalid argument
~ $ sudo mount /dev/mmcblk0p1 /home/user/MyDocs
mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed: Invalid argument
~ $

saponga 2012-10-15 19:47

Re: [help] MyDocs partion not seen by file manager
 
Quote:

Originally Posted by c4rl05 (Post 1280945)
this is the output i get when i try to mount or umount it, via xterminal

~ $ sudo umount /dev/mmcblk0p1
umount: can't umount /dev/mmcblk0p1: Invalid argument
~ $ sudo mount /dev/mmcblk0p1 /home/user/MyDocs
mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed: Invalid argument
~ $

try
Code:

sudo mount -t vfat /dev/mmcblk0p1 /home/user/MyDocs
what do you get with
Code:

sudo fdisk -l

c4rl05 2012-10-15 20:03

Re: [help] MyDocs partion not seen by file manager
 
Quote:

Originally Posted by saponga (Post 1280959)
try
Code:

sudo mount -t vfat /dev/mmcblk0p1 /home/user/MyDocs

i get:

Code:

$ sudo mount -t vfat /dev/mmcblk0p1 /home/user/MyDocs
mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed: Invalid argument

Quote:

what do you get with
Code:

sudo fdisk -l

i get :
Code:

~ $ sudo fdisk -l

Disk /dev/mmcblk1: 8054 MB, 8054112256 bytes
4 heads, 16 sectors/track, 245792 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start        End      Blocks  Id System
/dev/mmcblk1p1              1      245792    7865336  b Win95 FAT32

Disk /dev/mmcblk0: 32.0 GB, 32015122432 bytes
4 heads, 16 sectors/track, 977024 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start        End      Blocks  Id System
/dev/mmcblk0p1              2      884865    28315648  c Win95 FAT32 (LBA)
/dev/mmcblk0p2          884866      950401    2097152  83 Linux
/dev/mmcblk0p3          950402      974977      786432  82 Linux swap
~ $
~ $


pichlo 2012-10-15 20:36

Re: [help] MyDocs partion not seen by file manager
 
So the partition is there but the file system is corrupt. It looks to me like a result of an unclean unmount. Try:
Code:

dosfsck /dev/mmcblk0p1
Another option is connect to a Windows PC and run checkdisk. I've read amazing stories on this forum of people with similar problems who fixed it by a simple checkdisk.

saponga 2012-10-15 20:59

Re: [help] MyDocs partion not seen by file manager
 
If fsck don't work, check that thread out http://talk.maemo.org/showthread.php?t=82049 and maybe you could get your data back.
Good lucky !

knuthf 2012-10-15 22:56

Re: [help] MyDocs partion not seen by file manager
 
Install "TestDisk" - this does the above and more.
The usual virus will try to change the MBR, but "MyDocs" runs "ext2" that is fully journalled. Load the journal, and scan the entire filesystem.

Drop Windows - this does not know about the file system, it can easily destroy it.
If the MBR has been modified, loading the previous value is the only way forward You loose the last second or two... The typical error is that the file system tye is unknown. List the types - look for "ext2" - which should be used.
If you just get hold of the journal master block, TestDisk will restore your entire "MyDocs" - also the ._Trashes directory. Use your PC to learn aout Linux / Unix commands. :) Good luck!

c4rl05 2012-10-16 14:48

Re: [help] MyDocs partion not seen by file manager
 
THANKS GUYS, TEST DISK DID THE JOB, now i got MyDocs partion working with all my data.

THANKS AGAIN


All times are GMT. The time now is 07:19.

vBulletin® Version 3.8.8