PC Installation and Setup
Create Windows Installation Media
Via Windows, use Media Creator.
Install Windows
- Create EFI partition
- Shift + F10
diskpart
list disk
select disk <X>
clean
convert gpt
create partition eft size=500
exit
- Create ~400GB partition.
Configure Windows
- Setup multi monitors.
- Set timezone.
- Install:
- Steam (login, download any games)
- Dropbox (login)
- Procrastitracker
- SHapr3D (login)
- VSCode (settings sync)
- Discord (login)
- Cura (login)
Create Arch Linux Installation Media
Via Windows:
- Download Arch Linux ISO
- Download & Install Rufus
- Write ISO in GPT/DD Mode.
Install Arch Linux
ping dfar.io
(confirm internet)timedatectl set-ntp true
timedatectl status
- Create partitions
parted -l
cfdisk <DISK>
- 8Gb Linux Swap
- Remaining Linux Root (x86-64)
- Format & mount partitions
mkfs.ext4 <PRIMARY>
mkswap <SWAP>
swapon <SWAP>
mount <PRIMARY> /mnt
mkdir /mnt/boot
mount <EFI> /mnt/boot
- Install base linux
pacstrap /mnt base linux linux-firemware nano grun efibootmgr networkmanager git firefox sudo wget cron xorg xterm xorg-xinit xorg-xclock xorg-twm base-devel awesome lightdm lightdm-gtk-greeter nvidia nvidia-settings pkg-config mesa arandr nautilus flameshot evince gnome-calculator numlockx vlc pulseaudio pasystray pavucontrol openvpn network-manager-applet networkmanager-openvpn remmina freerdp sane imagescan gnome-keyring gimp avidemux-qt
- Configure base linux
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/America/Detroit /etc/localtime
hwclock --systohc
nano /etc/locale.gen
(uncomment locale)locale-gen
nano /etc/locale.conf
(LANG=en_US.UTF-8)nano /etc/hostname
nano /etc/hosts
(add 1st code block)passwd
grub-install <EFI> --efi-directory=/boot
- Add Windows to Boot
blkid
(find UUID of EFI)nano /etc/grub.d/40_custom
(add 2nd code block below)grub-mkconfig -o /boot/grub/grub.cfg
127.0.0.1 localhost
::1 localhost
127.0.1.1 dfar-desktop.localdomain dfar-desktop
menuentry "Windows 11" {
search --fs-uuid --no-floppy --set=root <EFI_UUID>
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
- Setup user
useradd -m dfar
passwd dfar
usermod -aG wheel,audio,video,optical,storage dfar
nano /etc/sudoers
(allow wheel group sudo access)- Remove thumbdrive,
exit
,reboot
Configure Arch Linux
- Login with
dfar
sudo systemctl start NetworkManager
sudo systemctl enable NetworkManager
sudo systemctl start lightdm.service
sudo systemctl enable lightdm.service
- Setup Monitors
arandr
(save result to primary.sh)nano ~/.xprofile
(./.screenlayout/primary.sh)reboot
- Install yay
git clone https://aur.archlinux.org/yay.git
cd yay
makrpkg -si
cd..
rm -rf yay
- Install Dropbox
git clone https://aur.archlinux.com/dropbox.git
cd dropbox
makepkg -si
cd..
rm -rf dropbox
- Configure Dropbox
- Sign-in
mkdir ~/.config/awesome
ln -s ~/Dropbox/config/rc.lua ~/.config/awesome/rc.lua
ln -s ~/Dropbox/config/Xresources-desktop ~/.Xresources
reboot
- Install yay packages
yay -S visual-studio-code-bin insomnia azuredatastudio-bin
- Final touches
- Firefox
- Git (config)
- Set up VPN/Remmina
- VSCode (settings sync)