5.0 KiB
Arch with Gnome
Installation
Follow most of the instructions here: https://wiki.archlinux.org/title/Installation_guide
-
Download Arch
-
Verify the image
-
Create a bootable ISO
-
Disable secureboot (reenable later)
-
Boot into the live image
-
Check for network connectivity
# Check for internet ip a ping archlinux.org -
timedatectlto update system clock -
Create disk partitions
fdisk -l fdisk /dev/vda- +1G for /boot
- t EFI SYSTEM for /boot
- remaining for /
-
mkfs.fat -F 32 /dev/vda1(/mnt/boot partition) -
cryptsetup luksFormat /dev/vda2 -
cryptsetup luksOpen /dev/vda2 root -
mkfs.btrfs /dev/mapper/root(root partition) -
Mount the root partition with
mount /mnt -
Mount the boot partition with
mount --mkdir /mnt/boot -
pacstrap -K /mnt base linux linux-firmwareNote: linux-zen works, linux-hardened breaks appimages
-
genfstab -U /mnt >> /mnt/etc/fstab -
arch-chroot /mnt -
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime -
hwclock --systohc -
echo 'LANG=en_US.UTF-8' > /etc/locale.conf -
echo 'hostname' > /etc/hostname -
pacman -S grub -
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB(this will fail) -
Note: for some systems you'll have to move grubx64.efi into an expected location:
cp /boot/EFI/grub/grubx64.efi /boot/EFI/boot/bootx64.efi -
pacman -S vim -
Edit /etc/default/grub
GRUB_CMDLINE_LINUX="quiet splash rd.luks.uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" GRUB_ENABLE_CRYPTODISK=y -
Edit /etc/mkinitcpio.conf and set up systemd/sd-encrypt
HOOKS=(systemd autodetect modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck) -
mkinitcpio -P -
grub-mkconfig -o /boot/grub/grub.cfg -
pacman -S gdm gnome dhclient dhcpcd -
sudo systemctl enable gdm -
useradd ducoterra -
passwd ducoterra -
pacman -S sudo -
groupadd sudo -
Edit /etc/sudoers and uncomment the section allowing sudo and wheel group privilege
-
usermod -aG sudo ducoterra -
usermod -aG wheel ducoterra -
mkdir /home/ducoterra -
chown ducoterra:ducoterra /home/ducoterra -
exit -
umount /mnt/boot -
umount /mnt -
reboot
Post Install
-
vim /etc/locale.genUncomment the line:
en_US.UTF-8 UTF-8
And run
sudo locale-gen -
pacman -S tpm2-tss -
systemd-cryptenroll /dev/vda2 --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs="" -
Change /etc/default/grub to save previous selection
GRUB_DISABLE_SUBMENU=y GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true -
sudo grub-mkconfig -o /boot/grub/grub.cfg
-
Enable fingerprint terminal login but prompt for password first (enter switches to prompt for fingerprint)
sudo vim /etc/pam.d/system-auth and at the top of the file:
# fingerprint auth auth sufficient pam_unix.so try_first_pass likeauth nullok auth sufficient pam_fprintd.so -
sudo pacman -S bluez bluez-utils -
sudo systemctl enable --now bluetooth -
sudo pacman -S pipewire-pulse(remove conflicting packages)
Kernel Updates
- pacman -S linux linux-headers
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --modules="tpm" --disable-shim-lockcp /boot/EFI/GRUB/grubx64.efi /boot/EFI/boot/bootx64.efi
Packages
Official
| name | purpose |
|---|---|
| grub | boot loader |
| sudo | sudo privilege for non-root users |
| dhclient | dhcp client tool |
| dhcpcd | dhcp services |
| networkmanager | Gnome networking in settings |
| qemu-guest-agent | Auto resize |
| spice-vdagent | Clipboard |
| firefox | Firefox browser |
| gnome-browser-connector | Firefox gnome connector |
| base-devel | makepkg requirement |
| kubectl | kubernetes kubectl |
| wine | wine64 emulator |
| code | open source vscode |
| steam | steam |
| git | git |
| fprintd | fingerprint reader capability |
| tlp | power management |
| bluez | bluetooth |
| bluetoothctl | bluetooth |
AUR
| name | purpose |
|---|---|
| appimagelauncher | AppImage launcher and integrator |
Steam
https://wiki.archlinux.org/title/Official_repositories#multilib
When prompted, use vulkan-radeon