Raspberry Pi: Difference between revisions
m (→Installation) |
|||
Line 22: | Line 22: | ||
# Type <code>setup-alpine</code> | # Type <code>setup-alpine</code> | ||
# Once the installation is complete, commit the changes by typing <code>lbu commit</code> | # Once the installation is complete, commit the changes by typing <code>lbu commit</code> | ||
Reboot to verify that the installation was indeed successful. |
Revision as of 10:02, 4 October 2015
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 which is named as
alpine-rpi-<version>-armhf.rpi.tar.gz
. You will need version 3.2.0 or greater if you have a Raspberry Pi 2. - Mount your SD card to your workstation
- Use gnome-disks or fdisk to create a FAT32 partition. If you are using fdisk, the FAT32 partition is named as W95 FAT32 (LBA) and its ID is 0xC.
- Mark the newly created partition as bootable and save
- Mount the previously created partition
- Extract the tarball contents to your FAT32 partition
- 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.