# This is how I install my base arch system. This is more for me, so I don't # need to consult the wiki. Every command is in order, even the obvious ones. # One tab in signifies useful notes about the previous command. # drive could be different... cfdisk /dev/sda # select gpt # /dev/sda1 1GiB EFI System # /dev/sda2 8GiB Linux SWAP # /dev/sda3 rest Linux Filesystem mkfs.ext4 -L ROOT /dev/sda3 mkswap -L SWAP /dev/sda2 mkfs.fat -F 32 /dev/sda1 fatlabel /dev/sda1 ESP swapon /dev/sda2 mount /dev/sda3 /mnt mkdir -p /mnt/boot/efi mount /dev/sda1 /mnt/boot/efi pacstrap -K /mnt base linux linux-firmware sudo grub efibootmgr networkmanager os-prober vim genfstab -U /mnt >> /mnt/etc/fstab arch-chroot /mnt export EDITOR=vim grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub # if u want systemd to show startup log # in /etc/default/grub replace GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet" # with GRUB_CMDLINE_LINUX_DEFAULT="" grub-mkconfig -o /boot/grub/grub.cfg ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime hwclock --systohc vim /etc/locale.gen # uncomment en_US.UTF-8 UTF-8 locale-gen vim /etc/locale.conf # Add this line export LANG="en_US.UTF-8" vim /etc/hostname # add hostname `myhostname` vim /etc/hosts # Add these lines 127.0.0.1 localhost ::1 localhost 127.0.1.1 `myhostname`.localdomain `myhostname` visudo # uncomment %wheel ALL=(ALL:ALL) ALL passwd # for root useradd -m -G wheel -s /bin/bash `username` passwd `username` systemctl enable NetworkManager reboot Post install stuff... ~ ~ ~ ~ ~ ~ ~ ~ ~ ~