As already described in the previous article
also for the Armbian distribution we have to prepare an sd micro card.It is advisable to use a micro SD class 10 to gain better performances. As first step we proceed to the Armbian image download from Armbian web site
We choose for example the Debian Jessie Desktop Image.
We install 7zip package. In Debian we can use the following command
1 |
sudo apt-get install p7zip |
After the file download wint 7z extension in a directory, we open a shell command window in this directory and unzip the content
1 |
p7zip -d imagename.7z |
We have among other files the one with .raw extension. Then we plug the micro sd card and check this device
1 |
sudo fdisk -l |
In our case we have the following output
1 2 3 4 5 |
Disk /dev/sdb: 7,3 GiB, 7860125696 bytes, 15351808 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 |
We check if this device is umounted
1 |
df |
In the case we have the device in the output response, as in our case
1 2 |
/dev/sdb2 27633 395 26583 2% /media/user/16b66669-8789-473e-8982-302dd958a2fe /dev/sdb1 524008 0 524008 0% /media/user/E0A4-FDB1 |
we proceed to the unmount
1 2 |
umount /dev/sdb1 umount /dev/sdb2 |
WARNING: Be sure that the device is the micro sd card and not the internal disk. The next operation imply the complete rewriting of the device with the loss of all data on it.
We can now write the image into the micro sd card, using the correct device, that in our case is /dev/sdb
1 |
sudo dd if=./imagename.raw of=/dev/sdb bs=4M |
WARNING: This operation wipes all data on the micro sd card.
After a while we have the micro sd card ready to be used in the Orange PI PC board.