How to create an image from my Udoo's OS?

Discussion in 'General Discussion' started by alexandros301, Jan 20, 2015.

  1. alexandros301

    alexandros301 Member

    Joined:
    Mar 22, 2014
    Messages:
    40
    Likes Received:
    0
    I'm using Udoo with Debian for Udoo and I'd like to create an image with everything I have installed etc, in order to use it with more Udoos, so that I don't have to install everything from scratch. How can I achieve that? Never made an image before..
     
  2. schnabelvieh

    schnabelvieh New Member

    Joined:
    Jan 18, 2015
    Messages:
    6
    Likes Received:
    0
    Hey,

    you might want to use dd ......

    1) Get your sd-card out of the udoo and use a usb-sd-card reader
    2) Use dmesg to figure out which /dev/sd{sd-card} was created after you've plugged in your reader
    3) dd if=/dev/sd{sd-card} of=/path/to/my_image bs=1M

    NOTE: You need to be carefull with dd. Using something like

    dd if=/path/to/my_image of=/dev/sd{WRONG}

    is going to kill your linux-installation, when you want to duplicate your image on a fresh sd-card


    have fun,

    schnabelvieh
     
  3. alexandros301

    alexandros301 Member

    Joined:
    Mar 22, 2014
    Messages:
    40
    Likes Received:
    0
    damn, didn't cross my mind it's the same process as installing an image to an SD card from your computer...
    I guess I can give the image any name I want...like in your example it my_image, plus I should (or not?) give it the .img extension?

    Lastly, if I want to burn that image to a new SD card, all I need to do is this
    Code:
    dd if=/path/to/my_image.img of=/dev/sd_card bs=1m
    right? (I usually use 1m at the end, not 1M - I'm on OS X)

    Cheers
     
  4. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9

Share This Page