View Single Post
Old 01-06-2012, 11:29 AM   #6
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
Quote:
Originally Posted by geekmaster View Post
You need to run ssh from the usb drive where it will not get overwritten during the restore. You can follow the example used in NiLuJe's usbnet for the kindle 3. Or you can run SSH from the diagnostics partition. Or you can use the tar bug to restore the partition during startup.

The complications only arise when doing a restore. You can do a backup as I suggested at any time.
Thank you for the info. Creating a backup was indeed easy. I just did it in myts, the terminal on my Kindle.

One thing I found in another thread was they put '~exec' before your command. Is it the same thing?

Now, I am trying to make a simple outline of just what to do, just in case. Could you possibly give me the steps, and/or the link to NiLuJe's usbnet example you mentioned on how to restore using that image previously created?

Edit:

Would something like this work if done on a Linux machine to restore?:

Code:
Backup:
    dd if=/dev/mmcblk0p1 of=/mnt/us/mmcblk0p1.bin bs=1024

Restore:
    sudo su # Become root, so you don’t need to sudo everything
    fdisk -l # Look for your Kindle’s identifier, something like /dev/sdc, a 2GB drive with 4 partitions. using /dev/sdX here to represent drive
    mkfs.ext3 /dev/sdX2 # Make a ext3 partition for /var/local
    dd if=/mnt/us/mmcblk0p1.bin of=/dev/sdX1 bs=1MiB # This will take a long time to finish

Last edited by inameiname; 01-06-2012 at 12:15 PM.
inameiname is offline   Reply With Quote