|
|
2011-06-23
, 16:08
|
|
Posts: 2,101 |
Thanked: 1,934 times |
Joined on Sep 2008
@ Berlin, Germany
|
#82
|
sudo gainroot fsck -r /dev/mmcblk0p1
sudo gainroot sfdisk -l
|
|
2011-06-23
, 20:53
|
|
Posts: 14 |
Thanked: 2 times |
Joined on Apr 2010
@ Germany, Saxony
|
#83
|
Try to repair withIf this fails, please show the output ofCode:sudo gainroot fsck -r /dev/mmcblk0p1to see what state the partition table is in.Code:sudo gainroot sfdisk -l
Nokia-N900:~# fsck -r /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 2.11, 12 Mar 2005, FAT32, LFN / Contains a free cluster (2). Assuming EOF. FAT32 root dir starts with a bad cluster!
Nokia-N900:~# sfdisk -l Disk /dev/mmcblk0: 977024 cylinders, 4 heads, 16 sectors/track Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/mmcblk0p1 1 884864 884864 28315648 c W95 FAT32 (LBA) /dev/mmcblk0p2 884865 950400 65536 2097152 83 Linux /dev/mmcblk0p3 950401 974976 24576 786432 82 Linux swap / Solaris /dev/mmcblk0p4 0 - 0 0 0 Empty
|
|
2011-06-23
, 21:39
|
|
Posts: 2,101 |
Thanked: 1,934 times |
Joined on Sep 2008
@ Berlin, Germany
|
#84
|
sudo gainroot fsck -af /dev/mmcblk0p1
mmc-check /dev/mmcblk0p1
|
|
2011-06-23
, 21:51
|
|
Posts: 14 |
Thanked: 2 times |
Joined on Apr 2010
@ Germany, Saxony
|
#85
|
Try to run the af options on the device again, there are user reports in the forum, that they actually succeeded in running the command a couple of times before it workedAlso giveCode:sudo gainroot fsck -af /dev/mmcblk0p1a try please.Code:mmc-check /dev/mmcblk0p1
Nokia-N900:~# fsck -af /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 2.11, 12 Mar 2005, FAT32, LFN / Contains a free cluster (2). Assuming EOF. FAT32 root dir starts with a bad cluster! Nokia-N900:~#
Nokia-N900:~# mmc-check /dev/mmcblk0p1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN / Contains a free cluster (2). Assuming EOF. Nokia-N900:~#
|
|
2011-06-23
, 21:58
|
|
|
Posts: 566 |
Thanked: 282 times |
Joined on Sep 2010
@ Lower Saxony
|
#86
|
|
|
2011-06-23
, 22:09
|
|
Posts: 14 |
Thanked: 2 times |
Joined on Apr 2010
@ Germany, Saxony
|
#87
|
|
|
2011-06-23
, 22:15
|
|
|
Posts: 566 |
Thanked: 282 times |
Joined on Sep 2010
@ Lower Saxony
|
#88
|
| The Following User Says Thank You to casketizer For This Useful Post: | ||
|
|
2011-06-24
, 07:04
|
|
Posts: 2,101 |
Thanked: 1,934 times |
Joined on Sep 2008
@ Berlin, Germany
|
#89
|
You could try a tool like R-Studio (in Windows) if any important data is on it, and then reformat. If that fails too you'll prolly have to flash it.
| The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
|
2011-06-27
, 16:47
|
|
Posts: 14 |
Thanked: 2 times |
Joined on Apr 2010
@ Germany, Saxony
|
#90
|
About 1 week ago my microSD was corrupt and could be rescued with the this procedure:
Nokia-N900:~# fsck.vfat -aw /dev/mmcblk0p1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN / Contains a free cluster (2). Assuming EOF. FAT32 root dir starts with a bad cluster! Nokia-N900:~# fsck.vfat -avw /dev/mmcblk0p1 dosfsck 2.11 (12 Mar 2005) dosfsck 2.11, 12 Mar 2005, FAT32, LFN Checking we can access the last sector of the filesystem Boot sector contents: System ID "Maemo" Media byte 0xf8 (hard disk) 512 bytes per logical sector 65536 bytes per cluster 126 reserved sectors First FAT starts at byte 64512 (sector 126) 2 FATs, 32 bit entries 1769984 bytes per FAT (= 3457 sectors) Root directory start at cluster 2 (arbitrary size) Data area starts at byte 3604480 (sector 7040) 442377 data clusters (28991619072 bytes) 32 sectors/track, 64 heads 0 hidden sectors 56631296 sectors total / Contains a free cluster (2). Assuming EOF. FAT32 root dir starts with a bad cluster!