![]() |
Re: memory corrupt
sorry . i wrote df -k
and here is the output /home/user # df -k Filesystem 1k-blocks Used Available Use% Mounted on rootfs 233344 152984 76080 67% / ubi0:rootfs 233344 152984 76080 67% / tmpfs 1024 60 964 6% /tmp tmpfs 256 72 184 28% /var/run none 10240 72 10168 1% /dev tmpfs 65536 4 65532 0% /dev/shm /dev/mmcblk0p2 2064208 213008 1746344 11% /home /home/user # |
Re: memory corrupt
sorry . i also added the df -k and here is the total code :
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # sfdisk -1 sfdisk version 3.08 (aeb@cwi.nl, 040824) from util-linux-2.12r Usage: sfdisk [options] device ... device: something like /dev/hda or /dev/sda useful options: -s [or --show-size]: list size of a partition -c [or --id]: print or change partition Id -l [or --list]: list partitions of each device -d [or --dump]: idem, but in a format suitable for later input -i [or --increment]: number cylinders etc. from 1 instead of from 0 -uS, -uB, -uC, -uM: accept/report in units of sectors/blocks/cylinders/MB -T [or --list-types]:list the known partition types -D [or --DOS]: for DOS-compatibility: waste a little space -R [or --re-read]: make kernel reread partition table -N# : change only the partition with number # -n : do not actually write to disk -O file : save the sectors that will be overwritten to file -I file : restore these sectors again -v [or --version]: print version -? [or --help]: print this message dangerous options: -g [or --show-geometry]: print the kernel's idea of the geometry -G [or --show-pt-geometry]: print geometry guessed from the partition table -x [or --show-extended]: also list extended partitions on output or expect descriptors for them on input -L [or --Linux]: do not complain about things irrelevant for Linux -q [or --quiet]: suppress warning messages You can override the detected geometry using: -C# [or --cylinders #]:set the number of cylinders to use -H# [or --heads #]: set the number of heads to use -S# [or --sectors #]: set the number of sectors to use You can disable all consistency checking with: -f [or --force]: do what I say, even if it is stupid /home/user # df -k Filesystem 1k-blocks Used Available Use% Mounted on rootfs 233344 152984 76080 67% / ubi0:rootfs 233344 152984 76080 67% / tmpfs 1024 60 964 6% /tmp tmpfs 256 72 184 28% /var/run none 10240 72 10168 1% /dev tmpfs 65536 4 65532 0% /dev/shm /dev/mmcblk0p2 2064208 213008 1746344 11% /home /home/user # |
Re: memory corrupt
Code:
sudo gainroot |
Re: memory corrupt
here is the output
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # sfdisk --list 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 # |
Re: memory corrupt
Okay, now try to mount the partition after checking the filesystem
Code:
fsck -f /dev/mmcblk0p1 Then mount MyDocs Code:
mount MyDocs All must be done by root (sudo gainroot) |
Re: memory corrupt
Is this a 'read only file system' error?
Were you downloading anything large or using transmission by any chance when this first occurred? |
Re: memory corrupt
i dont know if it is read only or anythin.i dont remember exactly wt i was doing but i think i was sending a movie from my laptop .
here is the out put of michaaa62's code /home/user # fsck -f /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 3.0.1, 23 Nov 2008, FAT32, LFN Logical sector size is zero. /home/user # mount MyDocs mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed: Invalid argument /home/user # mount MyDocs mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed: Invalid argument /home/user # |
Re: memory corrupt
i tried fsck -r but online one line is given
wt else should i do ?? . |
Re: memory corrupt
by the way. when i connect it to the computer it shows the drive but when i click on it it says , please enter Drive (E) .
|
Re: memory corrupt
Quote:
please tell if it is going to be fine . please . i realy want to get it back |
All times are GMT. The time now is 18:15. |
vBulletin® Version 3.8.8