Notes on Installing Alpine Linux


After using Alpine, I still recommend Arch/Artix for desktop usage. For use on servers, Alpine is worth a try, as it uses less memory and space.

With more effort required to get audio working with Pipewire, partition scheming issues, and at times, unclear documentation, Alpine falls short for desktop usage. Arch has the AUR and extensive documentation.

Partition Scheme

Alpine's wiki says that only a root partition is required. Despite this, all example partition schemes mention a boot partition. I could not get it to start without one.

Even when I was able to boot, that partition never seemed to get mounted, and errors were shown.

Format your drive and reboot before doing the rest of the installation, as the new partitions might not be shown until rebooting.

Using a Window Manager

If your mouse and keyboard do nothing when starting a WM, run the following commands:

      adduser $USER input
      adduser $USER video

If startx results in an error saying that it is "giving up" and a display server cannot be found, running startx with root permissions might work. A better solution is to delete the .Xauthority and .xinitrc files and recreate them as a non-root user.

Recovering Nuked Partitions

I deleted and recovered my home partition twice while I was trying to get the installation to work. In this case, run apk add testdisk. After starting testdisk, select "Proceed" and "Analyze" on the deleted partition.

Resources