Kayley's Archlinux Guide
1) fdisk /dev/sda
- Type ānā for new partitions, make 3:
- Type t to change type if necessary
2) Make filesystems for the partitions
- mkfs.fat -F 32 /dev/sdx
- mkswap dev/sdx
- mkfs.ext4 /dev/sdx
3) Mount the filesystems
- For mounting on root: mount /dev/sdx /mnt
- For turning on swap: swapon /dev/sdx2
4) Install the needed packages
- pacstrap -K /mnt base linux networkmanager nano
5) Generate fstab to boot into distro & go into chroot
- genfstab -U /mnt >> /mnt/etc/fstab
- arch-chroot /mnt
6) Set local time & generate locales etc
- ln -sf /usr/share/zoneinfo/America/Vancouver /etc/localtime
- hwclock --systohc
- locale-gen
- nano /etc/locale.conf
- put in "LANG=en_US.UTF-8"
- nano /etc/hostname
7) Set password and enable network manager
- passwd -> fjl
- systemctl enable NetworkManager
8) Install GRUB
- pacman -S grub
- grub-install --target=i386-pc /dev/sdx
- grub-mkconfig -o /boot/grub/grub.cfg
Exit, Poweroff and remove ISO
9) Add user and download sudo
- useradd -m user1
- pacman -S sudo
- usermod -a -G wheel user1
- EDITOR=nano visudo /etc/sudoers