basic-install
Keyboard layout changed.
1ls /usr/share/kbd/keymaps/**/*.map.gz
1loadkeys uk.map.gz
Check if boot mode is UEFI
1ls /sys/firmware/efi/efivars
Without efivars, the system must boot with BIOS.
Check network's up
1ping archlinux.org
Set system clock properly
1timedatectl set-ntp true
Check disks
1lsblk
Make partition
1parted -s /dev/sda mklabel gpt
1parted -s /dev/sda mklabel msdos
1parted -s /dev/sda mkpart primary ext4 512 100%
1parted -s /dev/sda set 1 boot on
1mkfs.ext4 /dev/sda1
Use pacstrap to get the base install.
1mount /dev/sda1 /mnt/
1pacstrap /mnt base base-devel vim linux linux-firmware
Make fstab notes for new system.
1genfstab -U /mnt >> /mnt/etc/fstab
1arch-chroot /mnt
1echo 'en_GB.UTF-8' > /etc/default/locale
1pacman -Sy networkmanager grub
For legacy:
1grub-install --target=i386-pc /dev/sda
For EFI:
1sudo pacman -S efibootmgr
1mkdir /boot/efi
1grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --remmovable
1grub-mkconfig -o /boot/grub/grub.cfg
set local time
1ln -sf /usr/share/zoneinfo/Europe/Belgrade /etc/localtime
Find the desired locale's and uncomment them.
1vi /etc/locale.gen
1locale-gen
Make your keyboard changes permenent with:
1vi /etc/vconsole.conf
Then set: KEYMAP=uk.map.gz
unsure about this bit - is this name just for the loadkeys function?
Make a hostname
1echo pc > /etc/hostname
Set hostnames for network, or at least your own.
1vi /etc/hosts
This should have the following, at least:
127.0.0.1 localhost ::1 localhost 127.0.1.1 [hostname].localdomain [hostname]
If the system has a permanent IP address, it should be used instead of localhost.
Ping some sites to make sure the network's working
1passwd
1exit
1umount -R /mnt
Remove that awful beep sound:
1rmmod pcspkr
...and make the change permanent:
1sudo echo "blacklist pcspkr" >> /etc/modprobe.d/nobeep.conf