-
Notifications
You must be signed in to change notification settings - Fork 0
Arch Linux Installation ARM
Lean's edited this page Dec 12, 2025
·
37 revisions
This example is using sd card, feel free to change mmcblk to whatever partition you are using
- wget "http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz"
- cfdisk /dev/mmcblk1
-
Creates one partition 512MB as FAT32
-
Creates another with ext4 (Linux Partition)
- mkfs.vfat /dev/mmcblk1p1
- mkfs.ext4 /dev/mmcblk1p2
- mkdir /mnt
- mount /dev/mmcblk1p2 /mnt
- mkdir /mnt/boot
- mount /dev/mmcblk1p1 /mnt/boot
- bsdtar -xpf ArchLinuxARM-rpi-aarch64-latest.tar.gz -C /mnt
- genfstab -U /mnt >> /mnt/etc/fstab
-
If you want to add some packages or change configurations before booting you can use
arch-chroot /mnt Pacman Init
# Execute this inside the sd card (chroot)
pacman-key --init
pacman-key --populate archlinuxarm
pacman -Sy- umount /mnt/boot
- umount /mnt
- Now add the sd card into device and start it