|
2011-02-01
, 13:49
|
|
Posts: 323 |
Thanked: 189 times |
Joined on Oct 2010
@ Brazil
|
#22
|
Comes back with...
/home/user # fsck -af /dev/mmcnlk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
fsck.ext2: No such file or directory while trying to open /dev/mmcnlk0p1
/dev/mmcnlk0p1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Should i now try...
mount /dev/mmcblk0p1 /home/user/MyDocs
Thanks so much for the help guys, i hope the end is in sight and i can get this fixed!
The Following User Says Thank You to Temporal For This Useful Post: | ||
|
2011-02-01
, 13:54
|
|
Posts: 323 |
Thanked: 189 times |
Joined on Oct 2010
@ Brazil
|
#23
|
The Following User Says Thank You to Temporal For This Useful Post: | ||
|
2011-02-01
, 14:01
|
|
Posts: 323 |
Thanked: 189 times |
Joined on Oct 2010
@ Brazil
|
#24
|
|
2011-02-01
, 14:03
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#25
|
mount /dev/SomePartition /mnt dd if=/dev/YourN900'sFirstPartition of=/mnt/SomeClearName.dd_image bs=4096
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
|
2011-02-01
, 14:13
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#26
|
Heres what i got...
/home/user # umount /dev/mmcblk0p1
umount: cannot umount /dev/mmcblk0p1: Invalid argument
/home/user # fsck.vfat -f /dev/mmcblk0p1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Cluster size is zero.
/home/user #
The Following 2 Users Say Thank You to michaaa62 For This Useful Post: | ||
|
2011-02-01
, 14:18
|
|
Posts: 323 |
Thanked: 189 times |
Joined on Oct 2010
@ Brazil
|
#27
|
The Following User Says Thank You to Temporal For This Useful Post: | ||
|
2011-02-01
, 14:29
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#28
|
Well, that it usually means that the main sector got corrupted, and that still there's a hope that the backup is still alive, but I have never tried that.
You should do what michaaaa62 just said. Make a image copy, of all your internal drive, (first command) then copy the backup cluster (6) to the main (0) (second commnad) and hope for the best |:/
@Michaaa62:
Are you sure that you are copying the sec 6 to the 0 with this command? Shouldn't I try to copy to the sec 6 somewhere else and then try to copy it to sec 0? I don't know much, but looks like you are copying the 6 to the 6 again, am I wrong?
|
2011-02-01
, 14:30
|
|
Posts: 323 |
Thanked: 189 times |
Joined on Oct 2010
@ Brazil
|
#29
|
If there are any amendments to the code you posted would you be so kind as to post them?
Could you really spoon feed me what the final code i should be running is as to avoid messing up my device further please?
Once again i am very thankful for all of you help.
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
The Following User Says Thank You to Temporal For This Useful Post: | ||
|
2011-02-01
, 14:36
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#30
|
Thanks for all your help, i really appreciate it!
So i should run?...
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
Is that the full code? Where would the -r option come in? After i have run this? Thanks again, hopefully its going to be fixable this way!
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6
fsck -af /dev/mmcblk0p1
fsck -r /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
The partition for MyDocs is not mounted, this might be often triggered by a corrupted file system due to not being safely removed from a PC.
Please try