leomeinel / arch-install

My personal Arch Linux install script using LUKS2 encryption, LVM and btrfs with optional RAID1.
GNU General Public License v3.0
6 stars 1 forks source link
arch-install-script arch-linux archlinux btrfs btrfs-snapshots dracut linux luks-encryption luks2 lvm lvm2 mdadm raid raid1 systemd-boot uefi

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

: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.

Pre-installation

:information_source: | 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

:information_source: | Use <...>.sh |& tee <logfile>.log to create a log file.

:information_source: | Configure installation using vim /root/arch-install/install.conf.

Post-installation (tty)

: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.