User Tools

Site Tools


tutorials:ct1:installation:cb3_lubuntu-12.10-desktop_sd_card_installation

This is an old revision of the document!


Bold TextWrong contetent for this Link

Bold wrogn contente under this link!

Lubuntu-12.10 desktop sd card installation

About this Article

Abstract

We may want to install lubuntu desktop/server to SD card, here is a guide for you. This guide is for Linux platform only.

Prerequisites

  • Any Linux environment, we want sfdisk, dd, wget commands
  • An SD Card(at least 2GB)

Installation

Download Images

  • u-boot
$wget http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-card0-v1.00/u-boot-sunxi-with-spl-ct-20131102.bin
  • bootfs (partition 1)
$wget http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-card0-v1.00/desktop/bootfs-part1.img.gz
  • rootfs (partition 2)
$wget http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-card0-v1.00/desktop/rootfs-part2.img.gz

Extract the Images

$gzip -d bootfs-part1.img.gz
$gzip -d rootfs-part2.img.gz

Create Partitions on SD Card

sudo sfdisk --force --in-order -uS /dev/sdX <<EOF
2048,24576,L
,,L
EOF

/dev/sdX is the block device of your SD Card

Write Images to SD Card

sudo dd if=u-boot-sunxi-with-spl-ct-20131102.bin of=/dev/sdX bs=1024 seek=8
sudo dd if=bootfs-part1.img of=/dev/sdX1 bs=1M
sudo dd if=rootfs-part2.img of=/dev/sdX2 bs=1M
sync

Notes

  • This guide is suitable for the ct-lubuntu-card0-v1.00 desktop/server images
tutorials/ct1/installation/cb3_lubuntu-12.10-desktop_sd_card_installation.1383487285.txt.gz · Last modified: 2013/12/23 14:50 (external edit)