The following section will explain how to setup a Cubietruck. It will not cover every detail but will give a good overview on the important steps.
Hint
Display, mouse and keyboard are not needed.
Download
For the Cubietruck we use Cubian SD Image (actually version Cubian-desktop-r1-a20-ct). You can download it from here:
http://cubian.org/downloads/
System Installation
• | Unpack the 7z file to get the img file |
• | Put the SD card in the Cubietruck und power it on |
System Preparation
• | Connect to 'cubian' vie SSH (Port 36000, User cubie, Password cubie) |
• | Bring Cubian to the NAND-Flash ... |
• | sudo bash (Password cubie) |
• | Get a PGP Key for debian:
wget -O - http://packages.cubian.org/cubian.gpg.key | apt-key add - |
• | Update the software package lists
apt-get update |
• | Update the installed software packages (this may take a while)
apt-get dist-upgrade |
• | Get the Script for NAND Install
apt-get install cubian-nandinstall |
• | Run the Script for NAND Install (takes about 10 minutes)
cubian-nandinstall
If the script finished it will shut down your Cubietruck (after you enter Y). |
• | Remove the SD card and power on the Cubietruck again. It should boot from NAND now. |
• | Set Timezone
sudo dpkg-reconfigure tzdata |
• | Locales in English (en_US.UTF-8)
sudo dpkg-reconfigure locales |
• | Kernel update
sudo apt-get update && sudo apt-get install cubian-update |
If you get messages like this:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
try to reinstall the locales:
sudo apt-get install --reinstall locales
Software Install / Update
• | Install some additional useful packages (maybe some are preinstalled)
sudo apt-get install sudoku htop git build-essential autoconf automake screen curl binutils
(It's always a good idea to have Sudoku installed :-) |
Hints
General Information about Debian software installation / updates
https://help.ubuntu.com/community/AptGet/Howto
Cubian Webpage
http://cubian.org/
Very good Tutorial how to install Cubian (German)
http://www.kriwanek.de/cubieboard.html
http://www.kriwanek.de/cubieboard/393-cubian-auf-sd-card-installieren.html
http://www.kriwanek.de/cubieboard/402-cubian-auf-nand-flash-uebertragen.html
http://www.kriwanek.de/cubieboard/396-cubian-auf-sata-festplatte-verlagern.html
|