Raspberry Pi: Difference between revisions

From Alpine Linux
No edit summary
Line 16: Line 16:
== Installation ==
== Installation ==


Alpine Linux will be installed as [[Installation#Installation_Handbook|diskless mode]], hence you need to use [[Alpine local backup|Alpine Local Backup (lbu)]] to save your modifications between reboots.
Alpine Linux will be installed as [[Installation#Installation_Handbook|diskless mode]], hence you need to use [[Alpine local backup|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
# Insert the SD Card into the Raspberry Pi and turn it on

Revision as of 16:14, 1 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:

  1. Download Alpine for Raspberry Pi tarball
  2. Mount your SD card to your workstation
  3. Use gnome-disks or fdisk to create a vfat partition (file system id='c')
  4. Mark the newly created partition as bootable and save
  5. Mount the previously created filesystem
  6. Extract the tarball contents to your SD Card
  7. 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:

  1. Insert the SD Card into the Raspberry Pi and turn it on
  2. Login into the Alpine system
  3. Type setup-alpine
  4. Once the installation is complete, commit the changes by typing lbu commit
  5. Reboot to verify that the installation was indeed successful.