This shows you the differences between two versions of the page.
|
tutorials:ct1:installation:install_lubuntu_sd_image [2013/11/04 10:04] aaron created |
tutorials:ct1:installation:install_lubuntu_sd_image [2013/12/23 14:50] (current) |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * **Contributors**: [[http://cubieboard.org/|Cubieboard Community]] : ... | * **Contributors**: [[http://cubieboard.org/|Cubieboard Community]] : ... | ||
| </WRAP></WRAP> | </WRAP></WRAP> | ||
| + | ===== 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 | ||
| - | ===== Abstract ===== | ||
| - | |||
| - | |||
| - | ===== Headline ===== | ||
| - | |||
| - | ==== Headline ==== | ||
| - | |||
| - | |||
| - | ===== Headline ===== | ||
| - | |||
| - | === See Also === | ||
| <WRAP noprint> | <WRAP noprint> | ||
| {{tag>Cubieboard Cubietruck}} | {{tag>Cubieboard Cubietruck}} | ||
| </WRAP> | </WRAP> | ||