Support #515
Updated by Daniel Curtis almost 10 years ago
Replace sdX in the following instructions with the device name for the SD card as it appears on your computer. * Start fdisk to partition the SD card: <pre> fdisk /dev/sdX </pre> * At the @fdisk@ prompt, delete old partitions and create a new one: *# Type *o*. This will clear out any partitions on the drive. *# Type *p* to list partitions. There should be no partitions left. *# Type *n*, then *p* for primary, *1* for the first partition on the drive, press *ENTER* to accept the default first sector, then type *+100M* for the last sector. *# Type *t*, then *c* to set the first partition to type W95 FAT32 (LBA). *# Type *n*, then *p* for primary, *2* for the second partition on the drive, and then press *ENTER* +twice+ to accept the default first and last sector. *# Write the partition table and exit by typing *w*. * Create and mount the ext4 filesystem: <pre> mkfs.ext4 /dev/sdX2 mkdir /mnt/root mount /dev/sdX2 /mnt/root </pre> * Create and mount the FAT filesystem: <pre> mkfs.vfat /dev/sdX1 mkdir /mnt/root/boot mount /dev/sdX1 /mnt/root/boot </pre> * Download and extract the root filesystem (as root, not via sudo): <pre> wget http://archlinuxarm.org/os/ArchLinuxARM-rpi-latest.tar.gz bsdtar -xpf ArchLinuxARM-rpi-latest.tar.gz -C /mnt/root sync </pre> * Unmount the two partitions: <pre> umount /mnt/root/boot /mnt/root </pre> Now insert the SD card into the Raspberry Pi, connect ethernet, and apply 5V power. Use the serial console or SSH to the IP address given to the board by your router. *NOTE*: The default root password is *root*. h2. Resources * http://archlinuxarm.org/platforms/armv6/raspberry-pi