![]() |
Re: memory corrupt
Working on a solution, just some more testing here. Will be back in an hour, hopefully.
|
Re: memory corrupt
ok .
thanks |
Re: memory corrupt
Hope this will work:
To simulate your situation i just zero'ed the first sector of my external card to reproduce the error message, then copied the backup sector of the filesystem to the first sector. This made a filesystem check possible and all of my data readable again. Code:
dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6 |
Re: memory corrupt
okay . so should i enter an external memory card ??
|
Re: memory corrupt
i pasted ur code . before i enter a memory card .
now when ever i enter sudo getroot it says : password : and i cant write anything else wt should i do ? |
Re: memory corrupt
correct one is "sudo gainroot" not "sudo getroot"
|
Re: memory corrupt
here is the output of the code : there is an error :
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 getroot Password: Sorry, try again. Password: Sorry, try again. Password: Sorry, try again. sudo: 3 incorrect password attempts ~ $ sudo usage: sudo -K | -L | -V | -h | -k | -l | -v usage: sudo [-HPSb] [-p prompt] [-u username|#uid] { -e file [...] | -i | -s | <command> } ~ $ 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 # dd if=/dev/mmcblk0p1 of=/dev/mmcblk0p1 bs=512 count=1 skip=6 1+0 records in 1+0 records out /home/user # fsck -f /dev/mmcblk0p1 fsck 1.41.3.maemo0 (12-Oct-2008) dosfsck 3.0.1, 23 Nov 2008, FAT32, LFN alleged total clusters: 442377 FATs differ - using second FAT. 4424 8848 13272 17696 22120 26544 30968 35392 39816 44240 48664 53088 57512 61936 66360 70784 75208 79632 84056 88480 92904 97328 101752 106176 110600 115024 119448 123872 128296 132720 137144 141568 145992 150416 154840 159264 163688 168112 172536 176960 181384 185808 190232 194656 199080 203504 207928 212352 216776 221200 225624 230048 234472 238896 243320 247744 252168 256592 261016 265440 269864 274288 278712 283136 287560 291984 296408 300832 305256 309680 314104 318528 322952 327376 331800 336224 340648 345072 349496 353920 358344 362768 367192 371616 376040 380464 checked clusters: 381842 Leaving file system unchanged. /dev/mmcblk0p1: 9878 files, 381842/442377 clusters /home/user # mount /home/user/MyDocs mount: mounting /dev/mmcblk0p1 on /home/user/MyDocs failed: Input/output error /home/user # |
Re: memory corrupt
wt else to do ??
|
Re: memory corrupt
No external card necessary that was just available here for testing and as freemangordon correctly notes:
Code:
sudo gainroot |
Re: memory corrupt
Quote:
|
All times are GMT. The time now is 18:16. |
vBulletin® Version 3.8.8