the beguinage

arch install

written 2025-04-19 21:24, edited 2025-05-10 16:09

this is a quick and dirty installation checklist that doesn't include disk encryption because i tried to follow the wiki and fucked up so bad. i'm just distrohopping until debian 13 goes stable, and i'm pretty sure like, a week after i did this, debian testing's sway packages caught up. oh well.

with installation media

  1. iwctl: station wlan0 connect SSID-name
  2. timedatectl
  3. cfdisk /dev/nvme0n1
    • /dev/nvme0n1p1: 1G
    • /dev/nvme0n1p2: 4G
    • /dev/nvme0n1p3: remainder
  4. format
    • mkfs.ext4 /dev/nvme0n1p3
    • mkfs.fat -F 32 /dev/nvme0n1p1
    • mkswap /dev/nvme0n1p2
  5. mount
    • mount /dev/nvme0n1p3 /mnt
    • mount --mkdir /dev/nvme0n1p1 /mnt/boot
    • swapon /dev/nvme0n1p2
  6. pacstrap pacstrap -K /mnt base base-devel linux linux-firmware sof-firmware efibootmgr networkmanager grub neovim sudo zsh bash man-db man-pages texinfo
  7. genfstab -U /mnt >> /mnt/etc/fstab
  8. arch-chroot /mnt
  9. ln -sf /usr/share/zoneinfo/US/New_York /etc/localtime
  10. hwclock --systohc
  11. Uncomment en_US.UTF-8 UTF-8 in /etc/locale.gen. Run locale-gen.
  12. echo "LANG=en_US.UTF08" > /etc/locale.conf
  13. echo "thinkpad" > /etc/hostnme
  14. mkinitcpio -P
  15. passwd for root
  16. grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
  17. grub-mkconfig -o /boot/grub/grub.cfg
  18. Reboot.

as root

  1. echo "export ZDOTDIR=~/.config/zsh" >> /etc/zsh/zshenv
  2. useradd -m -G wheel -s /bin/zsh spica
  3. EDITOR=nvim visudo and uncomment %wheel ALL=(ALL) ALL

packages as user

yay and AUR

sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si