My personal Arch Linux install script using LUKS2 encryption, LVM and btrfs.
RAID can also be used.
Meant for general purpose systems.
:information_source: | Expect errors to occur during the installation. They only matter if any of the scripts don't finish successfully.
:information_source: | I recommend disks with at least 512GB (change $DISK_ALLOCATION in install.conf otherwise).
:warning: | All data on selected disks will be wiped!
:exclamation: | Follow these instructions for virt-manager.
:information_source: | 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
:information_source: | Use <...>.sh |& tee <logfile>.log
to create a log file.
:information_source: | Configure installation using vim /root/arch-install/install.conf
.
:warning: | If using virt-manager skip ¹.
:information_source: | ¹Enable Secure Boot
Setup Mode
in UEFI Firmware Settings
.
:information_source: | ¹Set your UEFI password(s) and reboot.
:information_source: | Log into $SYSUSER account and run:
~/post.sh
doas reboot
:information_source: | Log into $SYSUSER account on tty1, open alacritty with SUPER+ENTER
and run:
~/post-gui.sh
doas reboot
:information_source: | ¹Enable Secure Boot
in UEFI Firmware Settings
.