Cubieboard2 – Lubuntu installation

I wanted to install Lubuntu on my new Cubieboard2 so I decided to go for this v1.06 Lubuntu 12.10 image. You have option to have NAND or SD card and I’ve decided to go for NAND because the system performance should be faster than SD.
UPDATE: Download the Lubuntu 14.04 image for Cubieboard2. I found this image on Marcos Costales blog

I followed this video and installed PhonexSuite, downloaded image and upgraded cubieboard2. Thanks for it, it saved a lot of time..

Actually I had problems with my Win7 64. The driver (while upgrading) was acting as the cubieboard device was detached and attached twice with the USB driver failure (Device Manager error Code 10). I tried also to install it manually, I spent like hours to upgrade it, no success. Finally I used my old notebook with Vista and it works just like shown in the video. I recommend also to check the MD5 – my first download of the image generated wrong check sum so I was lucky to check MD5 before the image upgrade to Cubieboard2.

And be patient after the first run.. It takes much longer to boot for the first time.

The version that was installed:

linaro@cubieboard2:~$ uname -a
Linux cubieboard2 3.4.61+ #1 SMP PREEMPT Sat Oct 26 18:10:18 CST 2013 armv7l armv7l armv7l GNU/Linux
linaro@cubieboard2:~$ cat /etc/*-release
PRETTY_NAME="Linaro 13.04"

linaro@cubieboard2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Linaro
Description:    Linaro 13.04
Release:        13.04
Codename:       quantal

linaro@cubieboard2:~$ cat /proc/version
Linux version 3.4.61+ (matson@ubt) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP PREEMPT Sat Oct 26 18:10:18 CST 2013

Update repositories:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get clean

I would even recommend to install the package “build-essential” which contains some basic compilers and development tools (52MB) that are needed for almost all development and programming activities. Installing build-essential also cares for installing the make command.

sudo apt-get install build-essential

Install git (10MB) to have access to git libraries:

sudo apt-get install git

My favorite cross platform UNIX file manager is Midnight Commander.

sudo apt-get install mc

midnight commander
You can start midnight commander from terminal with mc command. Also use mcedit (from terminal or F4 from mc) instead of vi.

Other useful tools:

  • sudo apt-get install htop
  • sudo apt-get install ncdu

To turn cubieboard off:

sudo poweroff

To enable autologin with user linaro configure file sudo mcedit /etc/lightdm/lightdm.conf:


I have some more guides to make lubuntu more convenient for me (so might also be for you).



Check the post describing how to upgrade Linaro/Ubuntu/Lubuntu version to Ubuntu 14.04 LTS.

Related Posts

DLNA media server on Cubieboard with Lubuntu


I have installed Lubuntu on my new Cubieboard 2. I have also attached HDD to SATA so I have more space to store my media. This posts describes the steps needed to install and configure[…]

Continue reading ...

Ubuntu – data stored in RAM filesystem – TMPFS


In my Cubieboard2 I use Lubuntu. Since I have connected barometer and arduino to my cubieboard, I read data from that devices and store it to cubieboard2 filesystem. Since NAND memory is not quite suitable for such[…]

Continue reading ...

Lubuntu ssh: Read from socket failed – solved


SSH to my fresh lubuntu on cubieboard2 was not working. I tried it also from the lubuntu itself with the error: $ ssh localhostRead from socket failed: Connection reset by peer I went through many[…]

Continue reading ...
  • alfianabdi

    i have installed the same lubuntu to my cubieboard2
    but i cannot run the install build essential git and mc
    it said unable to fetch some archieve
    i would like to do auto login and install vnc server as well
    i am such a newbie to any linux system
    thank you