Skip to content

leomeinel/arch-install

Repository files navigation

arch-install

My personal Arch Linux install script using LUKS2 encryption, LVM and btrfs.

RAID can also be used.

Meant for general purpose systems.

Info

ℹ️ | 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).

⚠️ | All data on selected disks will be wiped!

❗ | Follow these instructions for virt-manager.

Pre-installation

ℹ️ | Follow the Pre-installation section of this guide until (including) the Connect to the internet section.

Installation

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.

Post-installation (tty)

⚠️ | If using virt-manager skip ¹.

ℹ️ | ¹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.