Arch Linux LUKS Install w/ extra SAUCE!!



Arch Linux LUKS Install w/ extra SAUCE!!

Arch Linux LUKS Install w/ extra SAUCE!!

00:00 PREVIEW
00:20 Arch Install w/ LUKS encryption
19:27 First Boot – Vanilla Arch Linux
20:43 Install yay/paru
22:24 Install graphics drivers
23:37 Install dedsec GRUB theme
25:07 Install Plymouth Optimus theme
28:18 Install Ly TUI Display Manager
29:51 REBOOT – Final Product!!

This is the TechHeart go-to Arch Linux installation and setup:
Arch Linux, installed from Arch.iso command-line
LUKS encryption on root partition
dedsec GRUB theming
Plymouth Optimus theme for graphical LUKS unlocking/boot sequences
Ly TUI Display Manager w/ animationz

This is the jump-off for all our Arch projects – what would you do differently?? Make sure to check the TechHeart YT channel soon for m0re Hyprland customization on TOP of this setup!! w00t w00t!

COMMAND LIST (Angled brackets weren’t allowed for 3 commands starting w/ “**”:
localectl list-keymaps | grep us
loadkeys us
ip a
(if no ethernet connection:)
wifi-menu / iwctl
pacman -Sy reflector
reflector -c US -a 12 –sort rate –save /etc/pacman.d/mirrorlist
pacman -Syy
lsblk
gdisk /dev/xxx
n, 1, ENTER, +200M, L, efi, ef00, n, ENTER, ENTER, ENTER, ENTER, w, y
lsblk
cryptsetup -y -v luksFormat /dev/xxx
YES
PW
PW
cryptsetup open /dev/xxx luksroot
PW
mkfs.ext4 /dev/mapper/luksroot
mkfs.fat -F32 /dev/xxx
lsblk
mount /dev/mapper/luksroot /mnt
mkdir /mnt/boot
mount /dev/xxx /mnt/boot
lsblk
pacstrap /mnt base linux linux-firmware vim amd/intel-ucode
** genfstab -U /mnt /mnt/etc/fstab
cat /mnt/etc/fstab
arch-chroot /mnt
fallocate -l 8GB /swap_file
chmod 600 /swap_file
mkswap /swap_file
swapon /swap_file
vim /etc/fstab
– add line (Using TABs):
/swap_file none swap defaults 0 0
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
hwclock –systohc
vim /etc/locale.gen
– unhash en_US line
locale-gen
** echo LANG=en_US.UTF8 /etc/locale.conf
** echo KEYMAP=us /etc/vconsole.conf
vim /etc/hostname
– add hostname line
vim /etc/hosts
– add lines (using TABs):
127.0.0.1 localhost
::1 localhost
127.0.0.1 hostname.localdomain hostname
passwd ROOTPW
pacman -S base-devel bluez bluez-utils cups dialog dosfstools efibootmgr git grub linux-headers mtools network-manager-applet networkmanager os-prober pulseaudio-bluetooth reflector wireless_tools wpa_supplicant xdg-user-dirs xdg-utils
vim /etc/mkinitcpio.conf
– add HOOK;
(After ‘autodetect’) keyboard keymap (After ‘block’) encrypt
mkinitcpio -p linux
grub-install –target=x86_64-efi –efi-directory=/boot –bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
blkid
(Find crypto_LUKS UUID (Not PARTUUID)…)
vim /etc/default/grub
– add to GRUB_CMDLINE_LINUX between “”s:
cryptdevice=UUID=UUID:luksroot root=/dev/mapper/luksroot
grub-mkconfig -o /boot/grub/grub.cfg
systemctl enable NetworkManager
systemctl enable bluetooth
useradd -mG wheel USERNAME
passwd USERNAME
EDITOR=vim
visudo
– unhash %wheel ALL=(ALL) ALL line
exit
umount -a #always busy disk?? WHY?
reboot now
LOGIN USER
ip a
(If no Ethernet connection:)
nmtui
– activate wifi
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
cd ..
rm -rf paru
sudo pacman -S xf86-video-intel/xf86-video-amdgpu/nvidia nvidia-utils nvidia-settings
(‘Arch WIKI NVIDIA’ if you have older NVIDIA GPU…)
git clone –depth 1 https://gitlab.com/VandalByte/dedsec-grub-theme.git
cd dedsec-grub-theme
sudo python3 dedsec-theme.py –install
cd ..
rm -rf dedsec-grub-theme
paru -S plymouth-theme-optimus-git
paru -S plymouth-git
sudo vim /etc/mkinitcpio.conf
– add to HOOKS line;
plymouth
sudo vim /etc/default/grub
– add to GRUB_CMDLINE_LINUX_DEFAULT;
quiet splash
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo plymouth-set-default-theme -R optimus
sudo pacman -S ly
sudo systemctl enable ly.service
sudo systemctl disable [email protected]
sudo vim /etc/ly/config.ini
– make edits for animation, big clock, etc..
sudo shutdown now

PR0FIT$