Alpine Logo

Installation

Note: the ISO images do not include any wireless packages so an ethernet connection is preferred.

Dual boot installation guide here:

https://wiki.alpinelinux.org/wiki/Installing_Alpine_on_HDD_dualbooting

GRUB is now available in Alpine and so can be installed directly :)

Here is my menuentry (with Intel microcode line):

menuentry 'Alpine Linux' {
   set root='hdX,Y'
   linux /boot/vmlinuz-vanilla root=/dev/sdZY rw modules=xfs rootfstype=xfs quiet
   initrd /boot/intel-ucode.img /boot/initramfs-vanilla
}

The filesystem type and module need to be declared explicitly for them to be loaded.

Post Installation

Xorg

Follow this guide to install Xorg itself:

https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts#setup-xorg-base

The Gentoo Wiki shows how to run X as a non-root user:

https://wiki.gentoo.org/wiki/Non_root_Xorg#Alternative_method

Graphics

Kernel mode setting needs to be activated for the graphics card:

Intel: https://wiki.alpinelinux.org/wiki/Intel_Video

AMD: https://wiki.alpinelinux.org/wiki/Radeon_Video

Sound

Use a kernel command line option to set the default audio device, e.g. snd-hda-intel.index=1

Groups

Add the main user to the audio and video groups to access the relevant hardware:

adduser $USER audio
adduser $USER video

Getting regular stuff working

https://wiki.alpinelinux.org/wiki/How_to_get_regular_stuff_working

Packaging

Alpine Linux uses APKBUILDs, which are very similar to Arch's PKGBUILDs, and has an aports tree to provide access to these:

https://wiki.alpinelinux.org/wiki/Aports_tree

OpenRC

See the Gentoo wiki for details.

Firmware

Non-free firmware must be installed when required, this means nearly all wireless cards and also current AMD & Intel graphics cards.

CPU firmware can be unpacked from the Arch Linux intel-ucode & amd-ucode packages and added to the bootloader configuration as per https://wiki.archlinux.org/index.php/Microcode#Manual_method.

Miscellaneous Links

Sid's page