Orange Pi Plus install Ubuntu server 14.04 loboris image

orange pi server
orange pi server

Orange Pi Plus

http://www.orangepi.org/
http://www.orangepi.org/orangepibbsen/forum/

H3shuoming

You’ll need a micro SD card and card reader to install the Linux image.

cardreader

microsd

Open terminal:

cd /home/samyil/Downloads/

Download armhf image Ubuntu 14.04:

wget -c http://itservice-bg.net/download/Ubuntu_trusty_mini.img.xz

List image file:

samyil@desktop:~/Downloads$ ls -lah
total 5,0G
drwxr-xr-x  3 samyil samyil 4,0K авг 15 22:07 .
drwxr-xr-x 34 samyil samyil 4,0K авг 15 21:34 ..
-rw-rw-r--  1 samyil samyil 133M авг 15 22:04 Ubuntu_trusty_mini.img.xz

Install dependencies:

samyil@desktop:~/Downloads$sudo apt-get install xz-utils pv

Uncompress the firmware:

samyil@desktop:~/Downloads$ xz -d Ubuntu_trusty_mini.img.xz

Locate your micro SD card with lsblk:

samyil@desktop:~/Downloads$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111,8G  0 disk 
├─sda1   8:1    0   512M  0 part /boot/efi
├─sda2   8:2    0 107,6G  0 part /
└─sda3   8:3    0   3,7G  0 part [SWAP]
sdf      8:80   1  14,4G  0 disk 
└─sdf1   8:81   1  14,4G  0 part /media/samyil/45E0-A761

Flash the image with dd:

samyil@desktop:~/Downloads$ sudo dd if=Ubuntu_trusty_mini.img | pv | sudo dd of=/dev/sdf bs=16M
samyil@desktop:~/Downloads$ sync

Remount two partitions in the SD card: linux and BOOT:

boot-orangepi

uImage in the partition was already uImage_OPI-PLUS for my board, but to be on the safe side, you can copy the kernel image to uImage.
Need to select one of the scrip.bin file to match the board and resolution you wish to use.

samyil@desktop:~/Downloads$ pushd /media/samyil/BOOT/
/media/samyil/BOOT ~/Downloads
samyil@desktop:/media/samyil/BOOT$cp uImage_OPI-PLUS uImage
samyil@desktop:/media/samyil/BOOT$cp script.bin.OPI-PLUS_720p50 script.bin
samyil@desktop:/media/samyil/BOOT$popd
samyil@desktop:/media/samyil/BOOT$sudo umount /dev/sdb*

Micro SD card is now ready. You can insert it into your board, and connect the power.

boot from microSD card

After a few seconds you should start seeing the kernel log on the screen, and a little later the login screen.

Login terminal: username:orangepi password: orangepi

Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.4.39 armv7l)
 
 * Documentation:  https://help.ubuntu.com/
Last login: Mon Aug 15 20:07:07 2016
orangepi@OrangePI:~$

If your board has an eMMC, you can install Linux to the internal flash with:

orangepi@OrangePI:~$sudo install_to_emmc

Now power off the board, remove the micro SD card, and start again to run Linux.

boot from emmc card on board orange pi

If your board has no internal storage, as in my case, you’ll still want to resize the Linux partition to make full use of your SD card capacity with:

orangepi@OrangePI:~$sudo fs_resize
orangepi@OrangePI:~$reboot

Installation complete, time for hacking !

orangepi-htop

Upgrade system

orangepi@OrangePI:~$sudo apt-get update && sudo apt-get upgrade -y

set the clock

orangepi@OrangePI:~$sudo dpkg-reconfigure tzdata

set locales

orangepi@OrangePI:~$ sudo locale-gen bg_BG.UTF-8
orangepi@OrangePI:~$ sudo locale-gen bg_BG
orangepi@OrangePI:~$ sudo locale-gen

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.