|
2012-05-19
, 10:05
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#2
|
Nokia-N900:~# umount-f /dev/mmcblk0p1
|
2012-05-19
, 12:02
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#3
|
sudo gainroot sfdisk -l
mkfs.vfat -n MyDocs /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1 fsck -r /dev/mmcblk0p1 fsck -n -v /dev/mmcblk0p1
|
2012-05-19
, 14:08
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#4
|
Has your partition been unmounted correctly, or not? The sequence of he commands you pasted suggests not. If that' s the case, I' d try first:
Then run fsck again.Code:Nokia-N900:~# umount-f /dev/mmcblk0p1
Nokia-N900:~# umount -f /dev/mmcblk0p1 umount: can't forcibly umount /dev/mmcblk0p1: Invalid argument Nokia-N900:~#
What does sfdisk think about the memory card?Do you have a backup of the data?Code:sudo gainroot sfdisk -l
If yes, just reassign a fresh new file systemIf no, try the -af option for fsck first, then try -r option, or try to get as much information from fsck as possible by using the -nv optionCode:mkfs.vfat -n MyDocs /dev/mmcblk0p1Please give the full error messages here for further debugging.Code:fsck -af /dev/mmcblk0p1 fsck -r /dev/mmcblk0p1 fsck -n -v /dev/mmcblk0p1
/home/user # sfdisk -l Disk /dev/mmcblk1: 60352 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/mmcblk1p1 0+ 47999 48000- 1535999+ c W95 FAT32 (LBA) /dev/mmcblk1p2 48000 60351 12352 395264 83 Linux /dev/mmcblk1p3 0 - 0 0 0 Empty /dev/mmcblk1p4 0 - 0 0 0 Empty 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 /home/user #
/home/user # fsck -af /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 2.11, 12 Mar 2005, FAT32, LFN There are differences between boot sector and its backup. Differences: (offset:original/backup) 65:01/00 Copying backup to original Cluster 5 out of range (251658240 > 442378). Setting to EOF. / Contains a free cluster (2). Assuming EOF. FAT32 root dir starts with a bad cluster! /home/user # /home/user # /home/user # fsck -r /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 2.11, 12 Mar 2005, FAT32, LFN There are differences between boot sector and its backup. Differences: (offset:original/backup) 65:01/00 Copying backup to original Cluster 5 out of range (251658240 > 442378). Setting to EOF. / Contains a free cluster (2). Assuming EOF. FAT32 root dir starts with a bad cluster! /home/user # /home/user # fsck -n -v /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 2.11 (12 Mar 2005) dosfsck 2.11, 12 Mar 2005, FAT32, LFN Checking we can access the last sector of the filesystem There are differences between boot sector and its backup. Differences: (offset:original/backup) 65:01/00 Copying backup to original 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 Cluster 5 out of range (251658240 > 442378). Setting to EOF. / Contains a free cluster (2). Assuming EOF. FAT32 root dir starts with a bad cluster! /home/user #
|
2012-05-19
, 15:00
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#5
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
2012-05-20
, 08:05
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#6
|
|
2012-05-20
, 08:13
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#7
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
2012-05-20
, 08:20
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#8
|
|
2012-05-20
, 14:41
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#9
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2012-05-23
, 15:23
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#10
|
posting this thread came after 4 days of trying different methods (except re-flashing).
I ran into a corrupted memory after unplugging the USB from the office PC. now the internal memory is not shown in filebox or manager. the files exist after checking them with TestDisk.
I've tried few codes of mounting and this is what I get:
BusyBox v1.20.0 (Debian 1.20.0power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ root
BusyBox v1.20.0 (Debian 1.20.0power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
Nokia-N900:~# umount /dev/mmcblk0p1
umount: can't umount /dev/mmcblk0p1: Invalid argument
Nokia-N900:~# fsck -a /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
65:01/00
Copying backup to original
Cluster 5 out of range (251658240 > 442378). Setting to EOF.
/
Contains a free cluster (2). Assuming EOF.
FAT32 root dir starts with a bad cluster!
Nokia-N900:~#
Any idea guys?
Thanx in advance,
Loopable 'Portrait' Backgrounds
Black & White stock alike lockscreen
Last edited by K9999; 2012-05-23 at 15:26.