How to install Arch Linux on Raspberry Pi?


La Raspberry Pi is undoubtedly an excellent pocket computer quite cheap and with which you can find many projects on the net in which you can give a large number of uses to this small device.

For those Raspberry Pi users they will know that this has an official operating system "Raspbian" which is a Debian-based GNU / Linux distribution. But there are also other systems that can be installed on the Raspberry.

The day today we are going to share with you a simple method to install Arch Linux on our Raspberry Pi and be able to take advantage of all the benefits and potential of this great system.

To be able to install Arch Linux on our Raspberry Pi we are going to need some previous requirements, quite simple.

Requirements to install Arch Linux on Raspberry Pi.

  • Have your Raspberry Pi with all its necessary accessories (power cable, USB or BT keyboard and mouse, HDMI cable and a monitor or screen with HDMI input)
  • SD card of at least 16GB or more preferably and class 10
  • A computer or laptop with an updated Linux distribution
  • SD card reader on the laptop or a USB adapter for your SD card
  • Internet connection

Ya with these requirements ready we can proceed to the installation process from Arch Linux on our Raspberry Pi.

For this process we are going to use the guide on the Arch Linux ARM website, which is quite simple to follow, the link is this.

On our computer with our favorite Linux distribution we are going to proceed to insert the SD card into it either in our reader if we have it or with the help of an adapter.

Arch Linux installation process on Raspberry Pi

Done this we are going to open a terminal and we are going to execute the following commands:

sudo fdisk -l

This command is in order to identify the mount point of our SD card, depending on the hard drives or SDDs connected, it will be the mount point you have.

Where / dev / sda will always be your primary hard drive in use with your Linux distribution, that mounting point should not be touched.

The others / dev / sdb or / dev / sdc and consequently are your other storage points, you will be able to recognize your device by seeing the capacity of these.

En my case is / dev / sdb, you just have to substitute for your mount point.


Ya identified the mount point we type:

sudo fdisk /dev/sdb

Now we must type the letter "o", doing this will delete any partitions on the drive.

Now we type "p”To list partitions

We type "n", then "p", we type "1" and then we press the ENTER key.

Here we are going to configure the first partition that will be for "boot", although they recommend giving 100 MB to this partition it is advisable to give it a little more so instead we are going to type + 180M and give ENTER.

Once this is done, now we are going to type "t", then "c" to configure the first partition to write W95 FAT32 (LBA).

Now we are going to type "n", then "p", then we type "2”For the second partition on the disk, and then press ENTER twice.

Finally we are going to type "w" to save the partition table and the changes.

Now we are going to create a new folder where we are going to save the file that we are going to download. In my case I did it in my download folder and the folder is named "archpi".

Arch Linux download

Inside the folder we are going to create two other folders with:

mkdir boot

mkdir root

Done this we are going to format our newly created partitions:

sudo mkfs.vfat /dev/sdb1

sudo mkfs.ext4 /dev/sdb2

We proceed to mount the partitions to created folders:

sudo mount /dev/sdb1 boot

sudo mount /dev/sdb2 root

Now let's download Arch Linux for Raspberry with the following command:


Now let's do the following as root:

sudo su

bsdtar -xpf ArchLinuxARM-rpi-2-latest.tar.gz -C root


mv root/boot/* boot

We disassemble the partitions with:

umount boot root

Y done this Arch Linux ready to use on Raspberry Pi. The credentials for this are:

  • The default user is alarm and the password is alarm
  • While for the root user the password is root.

If you want to know more about it, you can consult the following link.

The content of the article adheres to our principles of editorial ethics. To report an error click here.

Be the first to comment

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.