Raspberry Pi
This tutorial will help you install Alpine Linux on your Raspberry Pi.
Preparation
This section will help you format and partition your SD card:
- Download Alpine for Raspberry Pi tarball
- Mount your SD card to your workstation
- Use gnome-disks or fdisk to create a vfat partition (file system id='c')
- Mark the newly created partition as bootable and save
- Mount the previously created filesystem
- Extract the tarball contents to your SD Card
- Unmount the SD Card.
Installation
Alpine Linux will be installed as diskless mode, hence you need to use Alpine Local Backup (lbu) to save your modifications between reboots. Follow these steps to install Alpine Linux:
- Insert the SD Card into the Raspberry Pi and turn it on
- Login into the Alpine system
- Type
setup-alpine
- Once the installation is complete, commit the changes by typing
lbu commit
- Reboot to verify that the installation was indeed successful.