Arch Linux ARM website wiki
Find a file
Luke Mlsna 809083248c Create Setup_SD_Script
* A script to partition/format an SD card, and extract the lasted Arch Linux ARM build to it.
 * Works on the Raspberry Pi and Raspberry Pi 2.

## Summary:
 * This script installs the latest version of Arch Linux ARM to an SD card. 
 * Based on the official installation recommendations: https://archlinuxarm.org/platforms/armv6/raspberry-pi#installation 

## Input:
### This script requires the following input:
 1. The full path to a block device where Arch ARM is to be installed.

### This script performs the following actions:
 1. Creates 100MB vfat (boot) partition on specified block device;
 2. Creates ext4 (root) parition on remaining space;
 3. Creates a temporary directory for mount points and download;
 4. Downloads a tarball of the lastest ArchARM distribution;
 5. Extracts files to new root partition;
 6. Moves /boot directory to boot partiton.

## Usage: 
`bash flash-sdcard.sh /dev/sdcard`

## Source Tarball Download: 
### The `$SRC` variable is set to the url of the source tarball for the desired version of Arch Linux ARM: 
 * Raspberry Pi (Original/Model A, B, B+): http://archlinuxarm.org/os/ArchLinuxARM-rpi-latest.tar.gz
 * Raspberry Pi 2: http://archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz
2016-03-19 22:04:08 -05:00
Asus_Chromebit_CS10.md add Asus Chromebit 2015-11-28 19:18:49 -07:00
Asus_Chromebook_Flip_C100P.md initial commit 2015-11-26 11:24:57 -07:00
Contributing.md Contributing: add another reference 2015-12-06 16:40:05 -07:00
Developers.md initial commit 2015-11-26 11:24:57 -07:00
Distcc_Cross-Compiling.md update toolchain md5sums 2016-03-06 09:43:41 -07:00
Distributed_Compiling.md initial commit 2015-11-26 11:24:57 -07:00
Hisense_Chromebook_C11.md initial commit 2015-11-26 11:24:57 -07:00
ODROID-C1.md initial commit 2015-11-26 11:24:57 -07:00
ODROID-U2.md initial commit 2015-11-26 11:24:57 -07:00
ODROID-U3.md add ODROID-U3 2015-11-26 13:24:44 -07:00
Platforms.md correct platforms page 2016-02-15 19:10:08 -07:00
README add README 2015-11-26 15:05:21 -07:00
Samsung_Chromebook.md initial commit 2015-11-26 11:24:57 -07:00
Setup_SD_Script Create Setup_SD_Script 2016-03-19 22:04:08 -05:00
Wiki.md initial commit 2015-11-26 11:24:57 -07:00

This is the wiki for Arch Linux ARM.

Before contributing, completely read Contributing.md.