Script for boostrapping Arch Linux with BTRFS, snapshots and LUKS encryption (UEFI only).
easy-arch is a bash script that boostraps Arch Linux with sane opinionated defaults.
bash <(curl -sL bit.ly/easy-arch)
wget -O easy-arch.sh https://raw.githubusercontent.com/classy-giraffe/easy-arch/main/easy-arch.sh
chmod +x easy-arch.sh
bash easy-arch.sh
The partitions layout is simple and it consists solely of two partitions:
/boot/
as ESP./
as root.Partition Number | Label | Size | Mountpoint | Filesystem |
---|---|---|---|---|
1 | ESP | 512 MiB | /boot/ | FAT32 |
2 | Cryptroot | Rest of the disk | / | BTRFS Encrypted (LUKS2) |
The BTRFS subvolumes layout follows the traditional and suggested layout used by Snapper, you can find it here.
Subvolume Number | Subvolume Name | Mountpoint |
---|---|---|
1 | @ | / |
2 | @home | /home |
3 | @root | /root |
4 | @srv | /srv |
5 | @snapshots | /.snapshots |
6 | @var_log | /var/log |
7 | @var_pkgs | /var/cache/pacman/pkg |