Installation in Linux

In Linux, there is a tool calleddisk dump (dd). This tool helps to copy the content of the image to the SD card. dd is a command line tool which is available in all the Ubuntu/Linux based OS. Insert the micro SD card, format to the FAT 32 file system, and use the command mentioned later to write image to the micro SD card.

In the dd tool, there is no progress bar to indicate the copy progress. To get the progress bar, we can install a pipe viewer tool called pv:

    $ sudo apt-get install pv

After installing pv, we can use the following command to install the image file to the micro SD card. Note that you should have the OS image in the same path of the terminal, and also note the micro SD card device name, for example, mmcblk0, sdb, sdd, and so on. You will get the device name using the dmesg command.

    $ dd bs=4M if=image_name.img | pv | sudo dd of=/dev/mmcblk0  

image_name.img is the image name and the device name is /dev/mmcblk0. bs=4M indicates the block size. If the block size is 4M, dd will read 4 megabytes from the image and write 4 megabytes to the device. After completing the operation, we can put to Odroid and Raspberry Pi and boot the OS.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.8.247