Installing Arch Linux ARM on Raspberry Pi B+

Instructions

These instructions are for Linux. Replac sdX in the following instructions with the device name for the SD card as it appears on your computer.
  1. Start fdisk to partition the SD card:
  2. fdisk /dev/sdX
  3. At the fdisk prompt, delete old partitions and create a new one:
    1. Type o. This will clear out any partitions on drive.
    2. Type p to list partitions. There should be no partitions left.
    3. 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.
    4. Type t, then c to set the first partition to type W95 FAT32 (LBA).
    5. 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.
    6. Write the partition table and exit by typing w.
  4. Create and mount the FAT filesystem:
  5. mkfs.vfat /dev/sdX1
    mkdir boot
    mount /dev/sdX1 boot
  6. Create and mount the ext4 filesystem:
  7. mkfs.ext4 /dev/sdX2
    mkdir root
    mount /dev/sdX2 root
  8. Download and extract the root filesystem (as root, not via sudo):
  9. wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-latest.tar.gz
    bsdtar -xpf ArchLinuxARM-rpi-latest.tar.gz -C root
    sync
  10. Move boot files to the first partition:
  11. mv root/boot/* boot
  12. Unmount the two partitions:
  13. umount boot root
  14. Insert the SD card into the Raspberry Pi, connect ethernet and power.
  15. Connect to Monitor/TV via HDMI to login or SSH to the IP address given to the Pi by your router.
    • Login as the default user alarm with the password alarm.
    • The default root password is root.

Comments

Post a Comment

Popular posts from this blog

Installing Windows 7 from USB UEFI