Install an OS on an SD card

  1. Find the path to your SD card
  2. Insert your SD card in your computer and run:

    $ sudo fdisk -l
        Disk /dev/sdb: 14,9 GiB, 15931539456 bytes, 31116288 sectors
        Units: sectors of 1 * 512 = 512 bytes
        Sector size (logical/physical): 512 bytes / 512 bytes
        I/O size (minimum/optimal): 512 bytes / 512 bytes
        Disklabel type: dos
        Disk identifier: 0x0fcc6046

    Look up for your SD card and note its path. Here the path to our SD card is /dev/sdb.

  3. Write OS to the SD card
  4. $ sudo dd bs=4M if=path/to/os.img of=/dev/sdb conv=fsync

  1. Install Win32DiskImager
  2. Win32DiskImager is a tool to write images to disks on Windows.

    1. Download Win32DiskImager available on SourceForge
    2. Install the tool as administrator. To do so, you can right-click on the installer file (Win32DiskImager-0.9.5-installer) and choose to Run as administrator.
  3. Install the OS on the SD card
    1. Insert your SD card in your computer and run Win32DiskImager as administrator.
    2. Enter the path to your os.img and select the Device matching your SD card.
    3. Windisk32Imager to write Koheron led-blinker to the Red Pitaya
    4. Click on Write.

See also

[email protected]