My-arch-installer

This is a project that allows me to build custom live image for archlinux installation. It's just a top level project that unions live builder, installation scripts and corresponding config with my prferences.

Build

./build-image.sh

Flash

# Get usb path
lsblk

# Flash usb
dd status=progress bs=5M if=./output/live.img of=/dev/%USB_BLOCK_DEVICE%

Install

Connect to internet (wifi)

# Check that interface is up by systemd-networkd
ip a

# Scan networks
iwctl station %WLAN_IFACE% scan

# List networks
iwctl station %WLAN_IFACE% get-networks

# Connect with subsequent password input
iwctl station %WLAN_IFACE% connect %SSID%

# Connect with immediate password input
iwctl station %WLAN_IFACE% connect %SSID% --passphrase %PASSWORD%

Install archlinux

# Check internet connection
ping google.com

# Go to installation-script
cd installation-script

# Search disk path to install
lsblk

# Edit installation config
nano ./config

# Run installation script
./install.sh