So I decided I wanted to try my hand at an Arch linux install.
I just finished up and it mostly worked. I skipped networking though so I will have to fix that later.
Heres the walkthrough for my own reference when I reinstall it properly:
I had extra space at the end of /dev/sda
I used cfdisk and created two primary partitions, /dev/sda3 (boot) and /dev/sda4 (swap)
mkfs.ext4 /dev/sda3 mkfs.ext4 /dev/sda4
Create the swap:
mkswap /dev/sda4 swapon /dev/sda4
Mount the partition:
mount /dev/sda3 /mnt
Select a mirror-list (sed line comments out all the mirrors. My file had every server uncommented for some reason):
sed -i "s/^S/#S/g" /etc/pacman.d.mirrorlist I used: https://lug.mtu.edu/archlinux/ https://mirrors.kernel.org/archlinux/
Now to install the base stuff:
pacstrap -i /mnt base base-devel
Generate fstab:
genfstab -p /mnt >> /mnt/etc/fstab
Now chroot ourself to the /mnt directory:
arch-chroot /mnt
Setup hostname and timezone:
echo arch > /etc/hostname ln -s usr/share/zoneinfo/America/Denver /etc/localtime
Setup locale:
nano /etc/locale.gen //Find the locale you want and uncomment it locale-gen echo LANG=en_US.UTF-8 > /etc/locale.conf
Do this mysterious thing. I think its needed to load kernel modules:
mkinitcpio -p linux
Setup grub:
pacman -S grub os-prober grub-install /dev/sda os-prober grub-mkconfig -o /boot/grub/grub.cfg
Ok great! Now reboot and lets setup networking:
systemctl enable dhcpcd@.service ip link ip link set enp3so up
Good job. Next post will be about tweaking Arch in order to make it more usable (meaning a GUI and nice terminals)