Skip to content
Mario Cho edited this page Jul 18, 2016 · 1 revision

You'll need some files to do the service.

First of all the OS image. I'll pick the Lubuntu 14.04 image that is far more stable than other OSes available, both from the official page and from loboris page (loboris is a developer from Orange Pi Community highly involved on preparing OS images for Orange Pi boards).

You can have the official images from here and loboris images from here.

Download the Lubuntu 14.04 image from here: https://www.dropbox.com/s/xso6hctke875of1/Lubuntu_... Plug your SD-Card in the host. Open a terminal and discover what is the "address" of your SD-Card using the command: fdisk -l (maybe you'll need to execute this command as sudo or su). A possible output is (it is in portuguese because I'm brazilian =D ):

Disco /dev/sdc: 7,2 GiB, 7742685184 bytes, 15122432 setores Unidades: setor de 1 * 512 = 512 bytes Tamanho de setor (lógico/físico): 512 bytes / 512 bytes Tamanho E/S (mínimo/ótimo): 512 bytes / 512 bytes Tipo de rótulo do disco: dos Identificador do disco: 0x2b1c25d6

Dispositivo Inicializar Início Fim Setores Tamanho Id Tipo

/dev/sdc1 40960 124927 83968 41M 83 Linux

/dev/sdc2 124928 15121408 14996481 7,2G 83 Linux

So, the address for the SD-Card is /dev/sdc.

Unmount partitions of the SD-Card using: umount /dev/sdc* (change * to the numbers shown on fdisk output) Decompress the image executing: unxz Lubuntu_1404_For_OrangePiPC_v0_8_0_.img.xz Flash the image to SD-Card executing: dd bs=1M if=Lubuntu_1404_For_OrangePiPC_v0_8_0_.img iflag=fullblock | pv | dd bs=1M of=/dev/sdc oflag=direct - it'll take a time to conclude Execute sync to assure flushing all data to SD-Card Plug off and plug in again your SD-Card, and now you'll see two partitions (a smaller one to boot files and the bigger one is the root system) Download scriptbin_kernel.tar.gz from here: https://mega.nz/#F!wh8l2BjK!OBep3nMldBletvNNwkH2J... Untar the file using: tar -zxf scriptbin_kernel.tar.gz Enter the new directory and copy the files script.bin.OPI-PC_720p60 and uImage_OPI-2 to the boot partition of SD-Card Now exclude uImage and script.bin files from boot partition and rename script.bin.OPI-PC_720p60 to script.bin and uImage_OPI-2 to uImage Eject the SD-Card Now you have a ready-to-go SD-Card with Lubuntu installed for Orange Pi PC!

Clone this wiki locally