Arch Install Notes
Yesterday my Pop OS install got borked and instead of fixing it, since I’m bored at home and self-quarantined anyway, decided to try installing Arch Linux. First time, and how hard could it be anyway?
Got it done finally, and learned a lot along the way. Here are some notes to speed it up next time.
Boot into my Windows partition, download the Arch ISO, use Rufus to make a bootable drive, and boot into Arch.
I decided to reuse the Linux partitions, so no new partitioning necessary.
fdisk -llists the drives.
mkfs.fat -F32 /dev/sda5to ready the EFI partition
swapon /dev/sda6to setup swap
mkfs.ext4 /dev/sda7to create filesystem
wifi-menuis a huge improvement over past methods for connecting to WPA2. After connection, use
dhcpcd wlan0if IP isn’t assigned automatically. Ping to check connection.
Get fastest mirrors.
pacman -Syyto refresh the Pacman
pacman -S reflectorto install Reflector
reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlistfor best mirror list
Mount drive and install kernel
mount /dev/sda7 /mntto mount
pacstrap /mnt base linux linux-firmware vimto install base packages and Vim
Generate an fstab file:
genfstab -U /mnt >> /mnt/etc/fstab
Access system as root:
echo a1kn > /etc/hostnameand then
vim /etc/hoststo edit hosts file. Add:
127.0.0.1 localhost ::1 localhost 127.0.1.1 a1kn
passwdto setup root password.
Install bootloader. I’m still using Grub because it’s rock-solid and simple.
pacman -S grub efibootmgrto install
mount /dev/sda5 /boot/efito mount EFI partition
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S gnome
systemctl enable gdm.service
systemctl enable NetworkManager.service
Fun part is done! Now for the boring system config stuff. Some stuff to do (in a somewhat particular order):
- Add another user and login with that user instead of root
sudoand add user to sudo
- Increase speed on Thinkpad nipple by adjusting mouse speed in settings
zshand switch default shell to it
- Clone dotfiles to home directory
node npm yarn rubyto get some development stuff ready to go
:PlugInstallto install plugins
- Install fonts
And…we’re out. Things are feeling pretty good and snappy and we’ll have to keep installing packages over the next few days, but right now we should have a pretty usable environment.