===== Installing =====
- Enable ssh: ip addr , passwd , systemctl start sshd , ssh into VM
- As needed, clear the partition table wipefs -a /dev/sda
- Partition drive: cfdisk /dev/sda
(GPT, 512MB for EFI System, root, swap optl.)
- Format: mkfs.ext4 /dev/sda2 ; mkfs.fat -F32 /dev/sda1 ; mkswap /dev/sda3
- Mount: mount /dev/sda2 /mnt ; mkdir -p /mnt/boot/efi ; mount /dev/sda1 /mnt/boot/efi
- Install: pacstrap /mnt base base-devel linux linux-firmware nano sysfsutils usbutils\
htop tmux sudo wget openssh elinks grub efibootmgr netctl dhcpcd inetutils less which man
- Generate fstab: genfstab -U /mnt >> /mnt/etc/fstab
- chroot: arch-chroot /mnt /bin/bash
- set locale: echo en_US.UTF-8 UTF-8 > /etc/locale.gen ; locale-gen \
echo LANG=en_GB.UTF-8 > /etc/locale.conf
- Set time zone timezonectl set-timezone America/New_York
- set hostname: echo hostname > /etc/hostname
- configure /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 hostname.domain hostname
- Install bootloader: grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi \
grub-mkconfig -o /boot/grub/grub.cfg
- if DHCP is required, edit /etc/netctl/examples/ethernet-dhcp instead
- enable netctl: systemctl enable netctl
- enable profile: netctl enable enet
- set root passwd
- create user useradd -m -G wheel -s /bin/bash user
- set user passwd
- configure sudo echo %wheel ALL=\(ALL\) ALL >> /etc/sudoers
- enable ssh: systemctl enable sshd
- enable vmtools: systemctl enable vmtoolsd
- exit chroot
- umount /mnt ; sync
- reboot & disconnect ISO
===== More =====
Gnome
pacman -S xorg xorg-server gnome ; systemctl enable gdm ; systemctl enable NetworkManager