Index of /zaurus/tools/rootbackup

Icon  Name                                     Last modified      Size  Description
[DIR] Parent Directory - [TXT] readme.txt 10-Aug-2004 17:20 933 [   ] zmnt 10-Aug-2004 17:08 470 [   ] zumnt 10-Aug-2004 17:08 316
Create / modify / reflash an image of the rootfs

!!! NOTE: This only works for the SL5500g Zaurus !!!

* Creating a backup of your rootfs:
  # dd if=/dev/mtdblock4 of=initrd.bin
  This will creates an image of the current rootfs as "initrd.bin",
  that you can flash from a CF card as usual.

* Modifying the initrd.bin:
  Mounting these images is a bit tricky, the following scripts should
  do the job for you.
  Mounting the image:
  * zmnt [image] [mountpoint]
    Will mount [image] in the directory [mountpoint].
    If the parameters are omitted, [image] defaults to "initrd.bin"
    and [mountpoint] to "loop".
  Unmounting / creating the new image:
  * zumnt [image] [mountpoint]
    Will unmount the directory [mountpoint] and create a new file
    called [image].
    If the parameters are omitted, [image] defaults to "initrd-DATE.bin"
    (DATE is the current date) and [mountpoint] to "loop".