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

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 ...

Lubuntu – installing VNC server

I use vnc to access graphic interface from my PC to cubieboard that runs on lubuntu. I have chosen tightvncserver and spent some time to configure and run it. Also to my surprise it took me[…]

Continue reading ...

Which single board computer to select?

My first SoC board was pcduino. Since it was one of the first boards and I used it 24/7. It gave me some experience and I really like that Allwinner SoC A10 with 1GB RAM and[…]

Continue reading ...

2 thoughts on “Cubieboard2 – Lubuntu installation

  1. 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

Comments are closed.