The arch install process is very manual, so you get the joy of knowing exactly what’s going on. There are these general steps:
choose the correct disk
lsblk
fdisk -l
fdisk /dev/sdX
mkfs.fat -F 32 /dev/sdX1
mkfs.ext4 /dev/sdX2
mkswap /dev/sdX1
swapon /dev/sdX1
mount /dev/sdX2 /mnt
Install the base system. Can be worth grabbing other packages you’ll need here too, espeically if needed during the coming steps, e.g. a text editor. If you were trying to install on wifi you would need some wifi utilities here.
pacstrap -K /mnt base linux linux-firmware base-devel nvim git
# pretty sure this is how it knows what disks to automatically mount
genfstab -U /mnt >> /mnt/etc/fstab
# chroot! (change root)
arch-chroot /mnt
Congratulations, you are now inside the system. Be sure to set up these other things:
# Timezone - tab to autocomplete
ln -sf /usr/share/zoneinfo/Australia/Sydney /etc/localtime
# idk what this does or if its important
hwclock --systohc
# locales or something. does it just say en-us in /etc/locale. Not sure its right, might need more steps. but i dont think its used much anyway.
locale-gen
# Root passwd
passwd
# Add your user
useradd username
passwd username
Sudoers config also needed.
export EDITOR=nvim && visudo
go down to the line root ALL=(ALL:ALL) ALL put your user, recommend NOPASSWD option like it says there wq
This assumes BIOS mode was used. If you used EFI, all I can say is, have fun. LMAO
pacman -S grub
grub-install /dev/sdX
grub-mkconfig -o /boot/grub/grub.cfg
UEFI mode:
mkdir -p /efi
mount /dev/sdb1 /efi
bootctl install
WARNING: May need to disable secure boot in bios if it won’t boot
uefi sucks ok always choose /boot maybe make it bigger
Reboot the system.
exit
reboot
nb suckless way is it copies itself to /usr/local/bin/whatever
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager
nmcli device wifi list
nmcli con show
nmcli device wifi connect "SSID" password "yourpassword"
Ok well i have internet now
Can u use tmux as your window manager? lol
(arch linux speedrun any%)
sudo pacman -S xorg-xinit xorg-server
User must be added to the sound group. Probably was enough to get stuff working with ALSA but also theresmore stuff you can do for pipewire
(or yay, 1 less letter lmao) This is needed. Paru in rust
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
Repman add kennoath gnomes
Repman status
Repman sync name commitmsg
cd
, git add *
, git commit -m "commitmsg"
, git push
Support for adding shit to your path etc.
Just like, ? how do I set up networkmanager? If thats possible
.agent
file stores per directory context?? finish the function at relic.rs:256 Makes a commit or a patch that u review and approve etc Does vim have a patch viewer? Surely. Or maybe it just makes a commit that u can remove. Or commit at current point. Commit msg of prompt