Creating a bootable SD card

October 13th, 2016 Leave a comment Go to comments

Connect the SD card to your host system and note the device (we will use /dev/sdX in this document).

Download the script matching your platform:

For development snapshots, a copy of make-sdcard is provided with each tarball. Be aware that the script may change between versions.

Fix permission by executing:

chmod +x make-sdcard

Then execute:

sudo ./make-sdcard /dev/sdX path_to_release_file_tar.bz2

If you run ./make-sdcard without any parameters, it will show a brief help screen.


Please double check that you are using the correct device name for your card reader !


Otherwise you might loose valuable data.



  1. tian
    January 11th, 2014 at 12:38 | #1

    link for pandaboard is not working

    • tomlohave
      January 11th, 2014 at 15:14 | #2

      there is no more snapshots for panda.
      Ask Rudi in private for that.

  2. sirtet
    February 11th, 2014 at 11:15 | #3
  3. k79
    February 12th, 2014 at 16:09 | #4

    It seems, that there is a bug in the make-sdcard script – at least, for cuboxi target.

    At “Writing u-boot” stage it tries to execute the following command to write u-boot into the boot sector:
    dd if=$mountdir/boot/u-boot.imx of=$DEVICE bs=512 seek=2 conv=fsync

    but ‘u-boot.imx’ file is missing in geexbox-3.1.cubox.tar.bz2 so this step fails.

  4. Warped Rudi
    February 12th, 2014 at 17:28 | #5

    The Cubox-i stuff is under heavy development. The script (which I have removed now) was for an earlier version…

  5. druucifer
    February 26th, 2014 at 06:05 | #6

    I’m confused on the syntax here. I have a Cubox-i4. I try:

    sudo ./make-sdcard-cubox /dev/mmcblk0 geexbox-3.1.cubox.tar.bz2 cuboxi

    and I just get the help screen. What am I doing wrong?

  6. Warped Rudi
    February 26th, 2014 at 08:22 | #7

    There is no 3.1 release version for CuBox-i. The version you have is for the CuBox classic. CuBox-i support is only available in the development snapshots found here . Hint: Don’t invest to much work in versions below r16920…

  7. AmonRaKam
    March 1st, 2014 at 14:38 | #8

    Hello, help please? I need ISO or IMG file for pandaboard where i can download it? I have not other PC with linux and can’t install from *.tar
    thank you!

    • tomlohave
      March 3rd, 2014 at 11:12 | #9

      you should ask Rudi for that. He is the only one that build image for panda.

  8. AmonRaKam
    March 4th, 2014 at 12:14 | #10

    Hello, please help. The script is on a flash drive (/ media / 8) Do as it says in the instructions:
    chmod + x / media/8/make
    sudo: / media/8/make

    and the terminal says: sudo: / media/8/make: command not found
    What am I doing wrong?
    Thanks in advance!

  9. ca.tirado
    March 7th, 2014 at 19:50 | #11

    Hi! I flashed the system on a cubox i2-ultra and works fine on telent, but I can’t see anything on screen. Is there any tutorial of how to enable it?

  10. AmonRaKam
    March 10th, 2014 at 02:19 | #12

    Help please! Nothing helps. The script does not work, hands does not work, if someone can make the image for PandaBoard
    Thank you very much!

  11. lessless
    November 18th, 2014 at 23:48 | #13

    Should this work on cubietruck? Because of it doesn’t start – even leds are off,

  12. Warped Rudi
    November 19th, 2014 at 00:02 | #14

    The A10 image we provide will most likely not work on the Cubietruck. You need a different kernel config, u-boot config and script.bin. Our build system can produce this, but nobody has tried…

  13. PythonJ
    December 5th, 2014 at 09:05 | #15

    Are you planning to make image for Cubietruck? Sorry, my skill is not enough to do it… ((

  14. Warped Rudi
    December 6th, 2014 at 08:33 | #16

    There are are several issues with AllWinner hardware in general and with A20 especially. See
    Unless this is resolved we will not provide images.

  15. drimago
    July 19th, 2015 at 16:24 | #17

    I think there is a problem with the script or with the geebox image for Cubox i4pro because after I follow all the steps above the machine does not boot! There is no error message no nothing!

  16. roadrash
    December 10th, 2015 at 17:16 | #18

    This is not workinhg on Raspberry pi2 . I ran the script and all ran fine but when I tried the sdcard in the Raspberry it didn’t do anything. Ive checked the sdcard and it has two partitions and everything seems to be there so BOOT & GEEXBOX I also looked in /var/logs and there are no logs so its definately not making anyattemp to boot. Any ideas?

  17. Warped Rudi
    December 10th, 2015 at 19:38 | #19

    I just tried the “20151205-rd6da297” snapshot and it works as it should. You did not try to use a RaspberryPi image on a RaspberryPi2, did you? Because that won’t work. For recent builds, please look here:

  1. No trackbacks yet.
You must be logged in to post a comment.