Skip to content

Alpine

In case of any doubt check the handbook

Make installer USB

Download Alpine ISO here

Find usb by using lsblk then:

# Assume usb disk is /dev/sdX
umount /dev/sdX
dd if=path/to/alpine.iso of=/dev/sdX bs=4M conv=fdatasync

Boot it up

Access UEFI/BIOS when system bootup, then choose boot from USB.

Login

Login with:

Username: root
setup-keymap

setup-hostname

setup-interfaces

rc-update add networking boot

setup-timezone

setup-apkrepos

passwd

setup-sshd

setup-ntp

apk add fdisk

# divide the disk as you like
# set the file system of the partitions
# mount them

setup-disk /mn

Shutdown de computer

poweroff

Start the computer and login in root

Enable more repos

vim /etc/apk/repositories # Uncomment all links

Add user to wheel

addgroup alpine wheel

Update the computer

apk update && apk upgrade

Install base packages https://wiki.alpinelinux.org/wiki/Sway

apk add neofetch lsblk doas ncdu htop xf86-video-intel xterm alsa wpa_supplicant

Copy the contents of your .bashrc to .profile

This tutorial is incomplete maybe one day I'll finish it