JMARyA
f7374157b3
All checks were successful
ci/woodpecker/push/validate_schema Pipeline was successful
1.4 KiB
1.4 KiB
website | obj | rev |
---|---|---|
https://archlinux.org | os | 2024-09-13 |
Arch Linux
Arch is a very minimal Linux Distribution. It features many packages installable with Pacman and a useful wiki. Additional software support is based on the AUR
Installation of Arch Linux is typically done manually following the Wiki. Additionally there are install scripts like this one:
curl -L matmoul.github.io/archfi | bash
You can create a (custom) ISO with archiso.
Basic Install
# Set keyboard
loadkeys <layout>
# List drives
fdisk -l
# Partition
cfdisk /dev/<device>
# Format
mkfs.fat -F 32 /dev/<boot>
mkfs.ext4 /dev/<root>
# Mount
mount /dev/<root> /mnt
mount --mkdir /dev/<boot> /mnt/boot
# Install Base
pacstrap -K /mnt base linux linux-firmware nano [...]
# Configure
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
# Time
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
hwclock --systohc
# Language
nano /etc/locale.gen
locale-gen
# Persist keyboard
nano /etc/vconsole.conf
# Set hostname
nano /etc/hostname
# ramfs
mkinitcpio -P
# root password
passwd
# Bootloader
bootctl install
# Restart
reboot