My personal Arch Linux install script using LUKS2 encryption, LVM and btrfs.
RAID can also be used.
Meant for general purpose systems.
ℹ️ | Expect errors to occur during the installation. They only matter if any of the scripts don't finish successfully.
ℹ️ | I recommend disks with at least 512GB (change $DISK_ALLOCATION in install.conf otherwise).
❗ | Follow these instructions for virt-manager.
ℹ️ | Follow the Pre-installation
section of this guide until (including) the Connect to the internet
section.
pacman -Sy
pacman -S git
git clone https://github.com/leomeinel/arch-install.git
chmod +x /root/arch-install/prepare.sh
/root/arch-install/prepare.sh
arch-chroot /mnt
/git/arch-install/setup.sh
exit
umount -AR /mnt
reboot
ℹ️ | Use <...>.sh |& tee <logfile>.log
to create a log file.
ℹ️ | Configure installation using vim /root/arch-install/install.conf
.
ℹ️ | ¹Enable Secure Boot
Setup Mode
in UEFI Firmware Settings
.
ℹ️ | ¹Set your UEFI password(s) and reboot.
ℹ️ | Log into $SYSUSER account and run:
~/post.sh
doas reboot
ℹ️ | Log into $SYSUSER account on tty1, open alacritty with SUPER+ENTER
and run:
~/post-gui.sh
doas reboot
ℹ️ | ¹Enable Secure Boot
in UEFI Firmware Settings
.