DuinOS Installation – Linux

This document provides information showing how to install DuinOS using a Linux based PC. For more information about DuinOS and its usage, refer to here.

Requirements

  1. A blank MicroSD storage card (1 GB or larger)
  2. sd_card

  3. An USB to MicroSD adapter
  4. sd_reader

Step 1

Download the latest DuinOS and unzip to the /tmp folder on your PC. The unzipped DuinOS.img file should be about 1 GB.

1124

Step 2

In step 2, we will go over the process to copy DuinOS onto the MicroSD flash storage where the MicroSD flash is configure with bootable partition.

Insert a blank MicroSD flash storage card to the USB-to-MicroSD adapter and insert the adapter to your PC.

55

Wait for the MicroSD flash storage is detected and recognized.

1117

Then, launch a terminal window.

1117

From the terminal window, execute the following command to view all available partitions:

    sudo fdisk -l

1117

After the “sudo fdisk –l” command is executed, all available partitions are listed as shown in the screen below:

0011

From the above screen, it shows the MicroSD storage card we use is “/dev/sdb”.

1117

Make note of the assigned partition name for the MicroSD flash storage. (In this example, the SD card has one partition, sdb1)

1117

Next, execute the following command with the partition from the previous step:

    sudo umount /dev/sdb1

1119

If the SD card has multiple partitions, repeat the previous step to unmount each partition until all are unmounted. Then, you can see the SD storage device is removed from the desktop

1120

Next, from the terminal window, execute the following command to load DuinOS onto the MicroSD card:

    dd of={MicroSD device ID} if={DuinOS image file name} bs=1M

For the example in this application note, the command is as follow:

dd of=/dev/sdb if=/tmp/DuinOS.img bs=1M

1123

Please be patient, depending on the storage card’s Read/write speed, it takes approximately 6 ~ 7 minutes to load DuinOS onto the MicroSD.

After the process to load DuinOS onto the MicroSD card is completed, remove the MicroSD card from the adapter.

12121

Step 3

Insert the MicroSD card from the previous step into the MicroSD slot on the 86Duino board and apply power.

1313

During power-on, the 86Duino board first check whether the inserted MicroSD card is bootable and will boot from the MicroSD card. When a bootable MicroSD card is not detected, the board will boot from the onboard flash.

For more information about DuinOS usage, refer to the here.


Hacking

The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.