Wild Tech ‘Garden’
  • Blog
  • Docs
  • News
  • About
  • GitLab
  • RSS
  • Sysadmin & DevOps
    • XCA Private SSL
    • Pi Unbound: The Gift of DoT
    • Real SystemD Timers
    • PowerShell PowerShell: Adding Privileges to a User
  • Windows Windows and Linux
    • Ubuntu Ubuntu cloud images on Hyper-V
    • Windows 7 Physical to Hyper-V Virtual Machine
    • Linux Linux and Windows — Linux focused
      • Linux and Windows — Common Setup
      • QEMU Windows in a Libvirt KVM VM
      • Windows with Linux VM
    • Windows Windows-centric Linux & Windows
      • Windows preparation for Linux & Windows
      • Base Install of Windows 10
      • Windows 10 Pro, first steps post-install
      • Windows 10 Pro: tweaks and recommendations
  • Making the postmodern web
    • Making the postmodern web presentation
    • Resources for making the postmodern web
  • Public Pi backyard camera
    • Upload backyard camera captures
    • Serve from local server
    • Serve from remote web server
    • Serve from Google Drive
    • Serve from Microsoft OneDrive
    • Streaming backyard camera
  • Alpine Linux Alpine Linux as a server
    • Alpine Linux server install
      • Choose install type
      • Alpine semi-data install
      • Use modified install procedure
      • Commit LBU (stores changes)
      • Create ‘sys’ aks classic install
      • Reboot
    • Download and verify media
    • Partition media using command line (CLI)
    • Install on Raspberry Pi
      • Creating initial install media
      • Obtain and verify install tarball
      • Prepare SD card
      • Pre-boot tweaks
    • Important post-install configuration
      • Add boot entropy (headless)
      • Add Non-root admin
      • Make SSH only public key
      • Add Pre-mount FS check
      • Add Non-root admin
    • Kernel and hardware notes
      • Kernel parameters for Alpine
      • Hardware-specific tweaks and config
    • Suggested tweaks
      • Suggested tweaks
      • Enhanced shell prompt
      • Add Terminal multiplexor
      • Enhanced shell prompt
    • HOWTOs
      • Add etckeeper
      • Add manpages
      • Add nano as default
      • Etckeeper git remote
      • iPXE netboot Alpine
      • Restic rest-server host
    • Developing Alpine Linux
      • Modifying Alpine install images
  • Arm Arm Development
    • Arm Libvirt/KVM virtualization
      • ARM Virtualization Main
      • Old-school manual ARM for Libvirt/KVM
      • UEFI manual ARM for Libvirt/KVM
      • Old-school automated ARM for Libvirt/KVM
      • UEFI automated ARM for Libvirt/KVM
    • Fast x86 builds of armel software
  • Automating personal cloud
    • Bare-metal cloud-init
  • Alpine Linux as a server
  • Apr 29, 2022

Use Alpine Linux on Raspberry Pi as a server

Official Raspberry Pi case showing circuit board, held in a human hand
(Photo by Daniel F. Dickinson)

Special Notes

NOTE: For boot to succeed /media/mmcblk0p1/usercfg.txt must exist. See kernel parameters and device-tree settings for information on what you can set in that file. A blank file is sufficient to allow booting, however.

Guides

Creating initial boot media

Server install and configure

Hardware-specific tweaks and configuration

Existing Documentation

There are guides that are a bit of a mess on the Alpine wiki. I suppose so are these, by they are my mess.

https://wiki.alpinelinux.org/wiki/Raspberry_Pi
https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi

  • Creating initial boot media

    Guide to preparing an SD card to bootstrap an install of Alpine Linux on a Raspberry Pi

  • ›
  • Documentation ›
  • Alpine Linux as a server ›
  • Alpine Linux on Pi
  • Feb 11, 2024
  • 4:06 pm
  • Daniel F. Dickinson

  • Alpine Linux as a server Partition media using command line (CLI)
  • Install on Raspberry Pi Creating initial install media

Theme

Perplex logo

Apache 2.0 license

Content

Creative Commons 4.0 logo

unless noted otherwise.

Generated by

Hugo logo

Apache 2.0 license

Deployed On

OVHcloud

Contact

Contact Form
Report Issue

Legal Matters

Accessibility
Privacy
Licenses