Skip to content

Installation Guide

fabienli edited this page Apr 8, 2021 · 4 revisions

This document guides the user on how to install Arch Linux ARM/DanctNIX to their PinePhone (or PineTab).

Obtaining the disk image

You can download the latest image from the Releases section. Make sure you pick the correct image for your device.

The barebones image only contains a minimal, TTY-only setup of Arch, please do not select this unless you know what you're doing. However, if you choose to do so please check out this page after you flash the image for instructions on how to proceed.

Once downloaded, extract the image from the archive using unxz or another tool of your choice.

sid@tablet-chan ~/Downloads> unxz archlinux-pinephone-phosh-20210214.img.xz

Write the disk image

This page from Pine64 Wiki contains information on how to flash the image.

Once you have done that, power on your PinePhone.

You'll see a large amount of text scroll by as the OS resizes the rootfs to fill the entire disk, this might take a while:

fmigrate_block: 561 Migrate node block (X) -> (y)

NOTE: Do not power off/reboot or press the power button while it is resizing or you could end up with a corrupted OS.

If all went well, you should be booted to Arch Linux.

Post install

Default PIN & how to change it

The default PIN to login is 123456. It is recommended to change this PIN number. To do so, open the "Settings" application, then scroll down to the "Users" category, by default you'll find one user 'Alarm': click on the password field to update it. You can alternatively open a Terminal and type the command passwd.

Update software

The image available in the Releases section is only built periodically. To ensure you have the latest software, open up a new terminal and run: sudo pacman -Syu Enter your password when prompted.

Update the modem firmware

If you haven't already done so, follow the instructions on our wiki to update your modem firmware.