Results 1 to 7 of 7

Thread: Clone Warp v2 SD cards

  1. #1

    Default Clone Warp v2 SD cards

    Recommended procedure for cloning Warp v2 SD cards with a external PC.

    Insert the SD master and obtain the image:
    1 - cd /media/xxxxx
    2 - tar -zcvfp /root/ImageName.tar.gz *

    Insert the new SD card and commit the image:
    3 - unmount /media/yyyyy
    4 - mkfs.ext4 /dev/sdb1
    5 - tune2fs -i 0 /dev/sdb1 -L WARP-SD
    6 - mount the SD card
    7 - cd /media/WARP-SD
    8 - touch .WARP-SD

    Once a SD has been cloned it can be inserted into any Warp v2 and will automatically boot.

  2. #2
    dwerder Guest

    Default

    I am assuming there is the tar extract command missing from the above(below) instructions?

  3. #3
    Join Date
    Jul 2008
    Posts
    268

    Default

    You are absolutely right. Missing is a final step:

    9 - tar -xcvf /root/ImageName.tar.gz

  4. #4
    dwerder Guest

    Default

    Item 2 should be : tar -zcvpf /root/ImageName.tar.gz *

    Otherwise you end up creating a file p on the filesystem you are backing up.

  5. #5
    Join Date
    Jul 2008
    Posts
    268

    Default

    Updated instruction:

    Insert the SD master and obtain the image:
    1 - cd /media/xxxxx
    2 - tar -zcvpf /root/ImageName.tar.gz *


    Insert the new SD card and commit the image:
    3 - unmount /media/yyyyy
    4 - mkfs.ext4 /dev/sdb1
    5 - tune2fs -i 0 /dev/sdb1 -L WARP-SD
    6 - mount the SD card
    7 - cd /media/WARP-SD
    8 - touch .WARP-SD
    9 - tar -xcvf /root/ImageName.tar.gz

  6. #6
    tulipman Guest

    Default

    Hi there,


    I see a considerable difference in boot time between NAND and SD.
    running the system in NAND takes 45 secs less than with a SD Card.


    By looking around in my new Warp 2.0 unit (running from SD card), I find it quite strange that the SD card was formatted in FAT format...
    Hmmm, would be better to format it in ext4 format? Let's try it...

    I formatted another SD card in Linux ext4 format (primary partition)' and put it in the SD Slot of the Warp, but when I run the 'NAND to SD Copy', the SD card is not recognized...
    (When I put in a FAT formatted SD card in the Warp 2.0 SD slot, it's immediately recognized, and 'NAND to SD Card' works immediately...

    question: how to I get a ext4 formatted SD card accessed by the WARP v2.0. ?? (IF possible...) anyone?
    Another (rekated) question: in what format is the NAND memory formatted? Couldn't find it.

    Will now try if VFAT formatted SD cards will be recognized by the WARP 2.0...

    Rgds

    Robbert
    Last edited by tulipman; 07-18-13 at 06:22 PM.

  7. #7
    Join Date
    Jul 2008
    Posts
    268

    Default

    Hi Robert,


    A few notes -


    The NAND to SD Copy initially requires the SD card to be in a FAT format (simply done because this is the format used by most SD cards from the package) and will in turn format the card to ext4 and copy the entire NAND filesystem over (a snapshot).
    This process also puts a hidden file in the base directory (.WARP-SD) which identify the card as bootable by Warp. You can check or flip the boot points using the 'warp-bootmode -h' command.


    Outside of this mechanism all SD cards should be recognizable by Warp and could be manually mounted to use as extra memory from NAND. The first paragraph simply describes how the mechanism to create a bootable SD card works.


    The format of the NAND is UBI. Hope I cover everything.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •