View Single Post
Old 10-05-2012, 09:04 PM   #641
rynax
Member
rynax began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
Quote:
Originally Posted by geekmaster View Post
WinSCP uses SSH protocol, and the root that you see is the main boot partition. Do not write anything there (unless you know EXACTLY what you are doing).

Your home folder is /tmp/root (on ramdisk), so anything written there goes away when you reboot the kindle.

From WinSCP, the USB Drive "root" is at /mnt/us. Copy your stuff there instead.

EDIT: /mnt/mmc is just an empty mount point folder on the root, which you can use to mount the diags partititon (or to mount main from diags) while in an SSH shell. You can even run programs from the other mounted partition (including the other busybox).

here's the AFTER FIX working state of the Kindle Touch:
Code:
[root@[192_168_15_244] root]# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                62.2M     53.5M      5.5M  91% /
tmpfs                   124.9M      4.0K    124.9M   0% /dev
tmpfs                   124.9M         0    124.9M   0% /dev/shm
/dev/mmcblk0p3           31.0M     12.4M     17.0M  42% /var/local
fsp                       3.2G    299.4M      2.9G   9% /mnt/us
/dev/loop/0               3.2G    299.4M      2.9G   9% /mnt/base-us
BEFORE THE FIX, there was no fsp nor /dev/loop/0 mounted at all. So I wasn't able to use the mmcblk0p1.img on the Kindle I copied over via USB for dd purpose, and there's not enough space for transferring mmcblk0p1.img(358MB) via SCP to anywhere(only 124.9MB~).

So I can't do this step:
Quote:
7) Let’s copy the main partition and fix our Kindle! Type:
dd if=/mnt/us/mmcblk0p1.img of=/dev/mmcblk0p1 bs=4K
So how I fixed it?
Lucky enough, the main partition was not broken, by just doing the following step, it fixed my Kindle Touch:
Quote:
8) If you want to be double sure, you can also delete /var/local partition (it deletes collections). Type:
dd if=/dev/zero of=/dev/mmcblk0p3 bs=4K count=1K
My question is, what could causing the fsp part won't be mounted under diags mode?
If the main partition was broken, and the fsp part can't be mounted, then the kindle can not be restored using this diags mode method?

Another question is, what you do would fill up/break the /var/local ? It has only 31MB and half of it has been filled up, it seems it's very easy to be fed up and brick the Kindle. Know why Linux is so week on this part? One of my NAS filled up the partition with log files and it can't boot at all to even let me clear the logs.

Last edited by rynax; 10-05-2012 at 09:06 PM.
rynax is offline   Reply With Quote