Skip to content

vncsmyrnk/arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 

Repository files navigation

Arch

Useful information about arch config and utilities.

Useful links

Archinstall

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

Encrypting partitions

dm-crypt
GRUB Setup
Reencrypt a device
GRUB regenerate the config file
Removing system encryption

Installation caveats

Networking

Reference: https://wiki.archlinux.org/title/Network_configuration

cat <<EOF > /etc/systemd/network/20-wired.network
[Match]
Name=enp2s0

[Network]
DHCP=yes
EOF
cat "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 NetworkManager
ping 8.8.8.8 # for testing

GPU Drivers

AMD

sudo pacman -S mesa xf86-video-amdgpu

NVIDIA

sudo pacman -S mesa nvidia-open

Make sure to also install envycontrol for switching between integrated and dedicated cards and nvtop to monitor GPU usage.

Using system clipboard in vim

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

Increase archiso disk space

When needing space for installing packages on the archiso:

mount -o remount,size=1G /run/archiso/cow

Best practices

LTS kernel

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

About

Useful information about arch config and utilities.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages