Arch Linux
Some notes on install. Needs to be cleaned up
Installation
USB Burning
I use MacOS so first need to find my flash drive
diskutil list
# commentOkay great, our flash drive happens to be /dev/disk2
Well dd works great so we will use that and /dev/wdisk2 worked super fast for me.
dd bs=4M if=path/to/archlinux.iso of=/dev/wdisk2
# bs = batch size
# if = input file
# of = output file (/dev/disk is a file)First Boot
Wireless Setup
I’ve only got 1 WiFi card, so let's scan the hardware for WiFi.
Turn the hardware on
After install this became wlp5s0
Check it can scan
iwlist wlan0 scanConnect to my wifi
wpa_supplicant -B -i wlan0 -c <(wpa_passphrase cjwifi thisismypassword)basically wpa_supplicant will help connect to wifi with wpa2 passphrase which is probably most routers default. I just played around until it worked. Yay technology!
wpa_passphrase generates text that you are gonna shove into wpa_supplicant to connect to your wifi
-B - Fork into background.
-c filename - Path to configuration file.
-i interface - Interface to listen on.
needed to run
dhcpcd wlan0to get DHCP on the wlan interfaceping worked!
Well I need wifi at boot. Sym link
ln -s /usr/share/dhcpcd/hooks/10-wpa_supplicant /usr/lib/dhcpcd/dhcpcd-hooks/Create config for wpa_supplicant to read on boot
wpa_passphrase cjwifi thisismypassword > /etc/wpa_supplicant/wpa_supplicant.confCreate partitions. The wiki is confusing but ok. Took too long Want it to look like /dev/sda1 260M EFI System (1) /dev/sda2 32G Linux filesystem (default) /dev/sda3 4G Linux swap (19) /dev/sda4 430G Linux filesystem (default) basically: fdisk g - create for gpt n - new partition - paritition 1 - default start sector +260M - 260MB in size t - change partition type 1 - EFI n +32G n +4G n t 1 1 t 3 19
Now format those motherfuckers! mkfs.fat -F32 /dev/sda1 mkfs.ext4 /dev/sda2 mkfs.ext4 /dev/sda4
Swap mkswap /dev/sda3 swapon /dev/sda3
Mount them respectively mount /dev/sda2 /mnt mkdir /mnt/efi
get off the usb bro cmon
arch-chroot /mntpacstrap me bro
pacstrap /mnt base linux linux-firmware vim openssh dhcpcd wpa_supplicantinstall grub
hostname
timezone….
Booted: TIPS for services!:
enable dchp
systemctl start dhcpcdon boot start dchp
systemctl enable dhcpcddo the same for ssh so i can stop doing everything on the terminalenable dchp
systemctl start sshdon boot start dchp
systemctl enable sshdinstall fish shell
Add user https://gist.github.com/kevinwright/6884737 + SUDO
use ssh to get into my system from my laptop
cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keysinstall some utils
htop,tmux,wget,git,go,fzf,inetutils,grc--needed base-develinstall
vim-plugcurl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.viminstall fisher
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fishinstall fzf binding for fisher
install bass compat layer:
fisher add edc/bassinstall grc to color: fisher add
oh-my-fish/plugin-grcinstall nvm:
fisher add jorgebucaran/fish-nvminstall upto
fisher add markcial/uptoinstall z
fisher add jethrokuan/zstart getting dotfiles in order
Last updated
Was this helpful?