Author Topic: No More Hope  (Read 9343 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
No More Hope
« Reply #30 on: January 29, 2007, 03:03:05 pm »
I've not experimented with nand backup and restore for r121 but I suppose that it may not work dew to the very different flash partition usage.
In any case you can use the emergency system to make backups in many ways:
low level by the use of nandlogical and nanddump on the mtd partitions that can be later restored by nandwrite and nandlogical,
higher level backup by the use of cpio or tar jointly with gzip.

The emergency system can mount both CF and SD/MMC devices so the backup can target any of these devices.
Ok this way you cannot use the D+M management menu to restore but you can still use the emergency system to restore.... or as long as you still have working uboot you could boot from a SD/MMC or CF with what's necessary to restore.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
No More Hope
« Reply #31 on: January 29, 2007, 03:36:10 pm »
Quote
In any case you can use the emergency system to make backups in many ways:
low level by the use of nandlogical and nanddump on the mtd partitions that can be later restored by nandwrite and nandlogical,
higher level backup by the use of cpio or tar jointly with gzip.

The emergency system can mount both CF and SD/MMC devices so the backup can target any of these devices.
Ok this way you cannot use the D+M management menu to restore but you can still use the emergency system to restore.... or as long as you still have working uboot you could boot from a SD/MMC or CF with what's necessary to restore.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152849\"][{POST_SNAPBACK}][/a][/div]
Ok, you've got me VERY interested. Can you please post a simple step-by-step like you would write for a very small child (so I can understand it ) so I can try it out.
GROG!

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
No More Hope
« Reply #32 on: January 29, 2007, 03:40:17 pm »
Quote
As a side note, has anybody tried using the script from this thread to mount an r121 backup and get data out of it?[div align=\"right\"][a href=\"index.php?act=findpost&pid=152847\"][{POST_SNAPBACK}][/a][/div]
I was taking a peek at it myself. Haven't had time to actually do it yet, though.
GROG!

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
No More Hope
« Reply #33 on: January 29, 2007, 04:49:10 pm »
Quote
I've not experimented with nand backup and restore for r121 but I suppose that it may not work dew to the very different flash partition usage.
In any case you can use the emergency system to make backups in many ways:
low level by the use of nandlogical and nanddump on the mtd partitions that can be later restored by nandwrite and nandlogical,
higher level backup by the use of cpio or tar jointly with gzip.

The emergency system can mount both CF and SD/MMC devices so the backup can target any of these devices.
Ok this way you cannot use the D+M management menu to restore but you can still use the emergency system to restore.... or as long as you still have working uboot you could boot from a SD/MMC or CF with what's necessary to restore.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152849\"][{POST_SNAPBACK}][/a][/div]

Louigi... your on the same page as me... I'm working on putting together an app to do this... from the emergancy console... I haven't touched it to much... but it is a work in progress... IM me on icq next time your on...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
No More Hope
« Reply #34 on: January 30, 2007, 09:25:35 am »
Quote
Ok, you've got me VERY interested. Can you please post a simple step-by-step like you would write for a very small child (so I can understand it ) so I can try it out.

I've written a theoretical (not yet tested) way of doing this manually on my homepage.
See the "Documentation" subsection in the "Zaurus" menu (my home page is in the signature). It's not child proof but should be easy to follow.
AS I'VE NOT YET TESTED IT USE AT YOUR OWN RISK.
I'll collaborate with Late to try make a child proof backup/restore utility for beta4 and above.

Quote
Louigi... your on the same page as me... I'm working on putting together an app to do this... from the emergancy console... I haven't touched it to much... but it is a work in progress... IM me on icq next time your on...
While waiting to get hold of you on ICQ I'll try to test if my theory is functional and persuable.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
No More Hope
« Reply #35 on: January 30, 2007, 03:11:20 pm »
I've started testing and immediately found problems ... I'm updating the document while debugging problems ....
« Last Edit: February 01, 2007, 01:42:34 pm by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
No More Hope
« Reply #36 on: February 01, 2007, 01:43:51 pm »
I had catastrophic problems while restoring the root image ... actually lost everything in /dev/mtd2.
So do not use the procedure described in the above link till I get ir right.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
No More Hope
« Reply #37 on: February 01, 2007, 04:41:13 pm »
I now have a working procedure ... with some odd things still to be explained ... but it's better then nothing.
Same link as before (my home page, zaurus on the left, documents on the top, r121_system_backup.txt) ... make sure you hit refresh if you had a look at it previously.

BTW: has any one any explanation for the disk usage difference ?
if any one else wants to try ... tell me if you also have slightly different disk usage after the restore (via PM).
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing