|Cubieboard2 (CPU A20)|
I bought a Cubieboard2 and I made a Lubuntu 14.04 image! Now, it's really fast and easy to deploy that image in a cubieboard2 with a NAND = 4GB.
Download the Lubuntu 14.04 image for CubieBoard2 here.
LUBUNTU 14.04 INSTALL STEPS:
Boot with a Live distro, by example, with Cubian into a microSD (>8GB) with these steps.
Copy this Lubuntu image downloaded into the root of the microSD.
Boot the Cubieboard2 with Cubian from the microSD.
Open a Terminal (Menu / Accesories / LXTerminal) and run:
sudo su -
[password is "cubie"]
dd if=/lubuntu-14.04-cubieboard2-nand.img conv=sync,noerror bs=64K of=/dev/nand
It's done! Reboot :) You must to have Lubuntu 14.04.1 running with 4GB as NAND partition. User: linaro, password: linaro.
RECOMMEND STEPS AFTER INSTALLATION:
sudo su -
- Add your new user (change 'username' for your new user):
useradd -m username -G adm,dialout,cdrom,audio,dip,video,plugdev,admin,inet
-s /bin/bash ; passwd username
- Set keyboard layout in persist mode (By example, for the Spanish is "es"):
echo 'setxkbmap -layout "es"' >> /etc/xdg/lxsession/Lubuntu/autostart
- Set localtime (By example, for Spain local time = Europe/Madrid), in other way, the browser will have problems with the https web pages:
rm /etc/localtime ; ln -s /usr/share/zoneinfo/Europe/Madrid /etc/localtime ; ntpdate ntp.ubuntu.com
- Change password to linaro user or remove (logout required) that user (it's sudo and all people know this password, do it ;):
userdel -r linaro
- Install ssh-client for connect by ssh or pulseaudio pavucontrol for audio.
HOW WAS THIS IMAGE DONE?
For this image I installed an official Lubuntu 13.04 Image from here, and I did this changes:
- Resized NAND to 4GB (Ubuntu will use 1.5GB; 2GB free). You can use a microSD or SATA HD as external storage.
- Updated to 13.10 and then to 14.04 LTS (Updated lxde* packages to last versions).
- Installed ntp, firefox, audacious, sylpheed, pidgin, gpicview, lxappearance and ufw (not enabled)
- Rewritabled and group owner for avoid ufw warnings: /etc, /, /lib
- Removed chromium-browser, gnome-network-manager and gnome-disk-utility
- Removed no password for admin users (edited /etc/sudoers)
- Created this dd image
(OPTIONAL) PREVIOUSLY BACKUP OF YOUR CURRENT CUBIEBOARD2:
Insert a microSD card in your current OS:
sudo su -
dd if=/dev/nand conv=sync,noerror bs=64K | gzip -c -9 > /nand.img.gz
(OPTIONAL) RESTORE THAT BACKUP:
dd if=/nand.img conv=sync,noerror bs=64K of=/dev/nand