In order to upgrade the kernel, a full upgrade of the Alpine Linux version must be performed as described in upgrading Alpine Linux for removable media.ĭuring the booting time, you might notice errors related to the hardware clock. Type reboot to verify that the installation was indeed successful.Īfter installation, make sure your system is up-to-date:
Then you may be better served by a sys-mode installation.įollow these steps to install Alpine Linux in Diskless Mode: Want to install kernel modules (such as ZFS or Wireguard).Plan to install packages which consume more space than can be loaded into RAM.Expect there will be constant changes to the disk after initial setup (for example, if you expect people to login and save files to their home directories).Diskless installations still allow you to install packages, save local files, and tune the system to your needs. If you're using an older Alpine version, see section below.Īlpine Linux will be installed in diskless mode, hence you need to use Alpine Local Backup (lbu) to save your modifications between reboots.įor users who will be using their Raspberry Pi in scenarios where there is not expected to be significant changes to disk after setup (like running a static HTTP server), this is likely preferable, as running the entire system from memory will improve performance (by avoiding the slow SD card) and improve the SD card life (by reducing the writes to the card, as all logging will happen in RAM). Recent versions include Broadcom firmware files. If you see black edges around your screen after booting the Pi, you can add disable_overscan=1.In particular, gpu_mem will have no effect when specified in usercfg.txt ( source). However, note some settings can only be set directly in config.txt, which may be overwritten after updates. Optionally create a usercfg.txt file on the partition to configure low-level system settings. Mount the partition and extract the tarball contents onto it.Create a filesystem on the partition with mkdosfs -F 32 /dev/sdX1 (Replace sdX1 with the correct reference to the partition you just created.).(The current type can be found in the "Type" column in the output of fdisk -l.) You can use a partitioning tool such as gnome-disks or fdisk. The partition type should be W95 FAT32 (LBA). Create a bootable FAT32 partition on your SD card.The aarch64 build should be compatible with Raspberry Pi 2 Model v1.2, Raspberry Pi 3 and Compute Module 3, and Raspberry Pi 4 model B. The armv7 build is compatible with Raspberry Pi 2 Model B. You should be safe using the armhf build on all versions of Raspberry Pi (including Pi Zero and Compute Modules) but it may perform less optimally on recent versions of Raspberry Pi. Download the Alpine for Raspberry Pi tarball.This tutorial will help you install Alpine Linux on your Raspberry Pi. 5.3 Wireless support with older Alpine images.
5.2 apk indicating 'No space left on device'.5.1 Long boot time when running headless.4.4 Persistent Installation on Raspberry Pi 4.4.3 Persistent Installation on Raspberry Pi 3.4.2 Traditional disk-based (sys) installation.