Boot into archiso
Need MBR partition scheme
mkfs.ext4 /dev/sdxy mount /dev/sdxy /mnt
/etc/pacman.d/mirrorlist
## UIUC Server = http://mozart.acm.cs/mirror/archlinux/$repo/os/$arch
timedatectl set-ntp true
pacstrap /mnt base base-devel
fallocate -l 6G /mnt/swapfile chmod 600 /mnt/swapfile mkswap /mnt/swapfile swapon /mnt/swapfile
genfstab -U /mnt >> /mnt/etc/fstab
replace /mnt/swapfile with /swapfile in /etc/fstab
/swapfile none swap ........
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
Set clock to localtime for Windows dualboot
hwclock --systohc --localtime
uncomment en_US.UTF-8 in /etc/locale.gen create /etc/locale.conf
/etc/locale.conf
LANG=en_US.UTF-8
locale-gen
append to /etc/dhcpcd.conf
env force_hostname=YES
create /etc/netctl/lan
/etc/netctl/lan
Interface=enp6s0 Connection=ethernet IP=dhcp
netctl enable lan
/etc/hosts
127.0.0.1 localhost ::1 localhost
useradd -d /opt/acmadmin -m -G wheel acmadmin passwd acmadmin
/etc/sudoers uncomment this line
%wheel ALL=(ALL) ALL
/etc/pacman.conf uncomment the lines
[multilib] Include = /etc/pacman.d/mirrorlist
add acm repo
[uicacm] SigLevel = Optional TrustAll Server = http://mozart.acm.cs/acm-packages/archlinux/
pacman -Sy
mkinitcpio -p linux pacman -S grub ntfs-3g os-prober intel-ucode grub-install /dev/sdx grub-mkconfig -o /boot/grub/grub.cfg
exit umount -R /mnt reboot
sudo pacman -S openssh sudo systemctl enable sshd
sudo useradd -m -d /opt/acmguest acmguest sudo passwd acmguest
/etc/sudoers.d/acmguset-sudo
acmguest ALL=(root) NOPASSWD: /usr/bin/guestd
Install nfs-utils
sudo pacman -S nfs-utils
/etc/fstab
. . 172.29.0.6:/acm-home /home nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0 172.29.0.7:/pkgs-64 /var/cache/pacman/pkg nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0