Useful information about arch config and utilities.
curl -LO https://raw.githubusercontent.com/vncsmyrnk/arch/refs/heads/main/install.sh
chmod +x install.sh
MY_PASSWORD=password MY_ROOT_PASSWORD=root_password ./install.shdm-crypt
GRUB Setup
Reencrypt a device
GRUB regenerate the config file
Removing system encryption
Reference: https://wiki.archlinux.org/title/Network_configuration
cat <<EOF > /etc/systemd/network/20-wired.network
[Match]
Name=enp2s0
[Network]
DHCP=yes
EOFcat "nameserver 8.8.8.8" > /etc/resolv.conf
sudo pacman -S networkmanager
sudo systemctl enable systemd-networkd
sudo systemctl start systemd-networkd
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManagerping 8.8.8.8 # for testingsudo pacman -S mesa xf86-video-amdgpusudo pacman -S mesa nvidia-openMake sure to also install envycontrol for switching between integrated and dedicated cards and nvtop to monitor GPU usage.
Vim is useful during the installation for running the commands one by one. Using the system clipboard in this scenario is very useful.
- Install
vim-gtk3 - Set the clipboard inside vim:
set clipboard=unnamedplus
When needing space for installing packages on the archiso:
mount -o remount,size=1G /run/archiso/cowInstall linux-lts and linux-lts-headers alongside linux and linux-headers. The LTS kernel can be useful if some regression problem on kernel updates.
When using GRUB, regenerate the configuration file. This ensures the LTS kernel appears on "Advanced options" section.