This is my installer for Arch Linux. It sets up a BTRFS system and full snapper support (both snapshotting and rollback work!).
The script is a fork of Arch-Setup-Script, which itself is based on easy-arch. However, some changes are made to remove disk encryption and the hardenind done in Arch-Setup-Script. Some inspiration and changes are taken from the following Youtube video and from This guide.
- Download an Arch Linux ISO from here
- Flash the ISO onto an USB Flash Drive.
- Boot the live environment.
- Connect to the internet. iwcli for wifi. auto for ethernet. (Get the custom iso with extra tools from: Repo Release and then run
chmod +x /root/NetworkInstaller.sh && /root/NetworkInstaller.sh
) git clone https://github.com/SpanishHans/ArchSetup/ && cd ArchSetup && chmod u+x ./install.sh && ./install.sh
- After install, reboot to system and log as root.
- All scripts must be run from the root user to avoid permission issues.
- Paru commands shall be ran as the syadmin user because mkpgk cant be ran as root.
The partition layout I use allows us to replicate the behavior found in openSUSE 🦎
- Snapper-rollback works! You will no longer need to manually rollback from a live USB like you would with the @ and @home layout suggested in the Arch Wiki.
- Automatic snapshots on pacman install/update/remove operations
- Directories such as
/var/log
,/var/crash
,/var/tmp
,/var/spool
,/var/lib/libvirt/images
are excluded from the snapshots as they either should be persistent or are just temporary files.# ArchSetup