-
Boot into arch off a USB stick
-
Find disk with
fdisk -l
-
Open disk partitioning with
cfdisk <disk e.g. /dev/sda>
-
Make swap space of size 1/2 amount of RAM
- Set FS type to swap (82)
-
Make root partition, fill up disk
- Add boot flag
-
Write partition table and quit
-
Format root partition with ext4:
mkfs.ext4 <partition e.g. /dev/sda2>
-
Mount root partition with
mount <partition> /mnt
-
Make swap file
mkswap <swap partition e.g. /dev/sda1>
and setup withswapon <swap partition>
-
Connect to WiFi if needed with
wifi-menu
-
Install packages to root mount with
pacstrap /mnt base base-devel
-
Chroot in with
arch-chroot /mnt
-
Set root password with
passwd
-
Uncomment appropriate locale in
/etc/locale.gen
and runlocale-gen
-
Set timezone with
ln -s /usr/share/zoneinfo/<timezone> /etc/localtime
, may need-sf
-
Put host name in
/etc/hostname
-
Install grub
pacman -S grub-bios
-
Install grub to disk
grub-install <disk e.g. /dev/sda>
-
Configure with
mkinitcpio -p linux
-
Generate grub config with
grub-mkconfig -o /boot/grub/grub.cfg
-
(recommended) Install NetworkManager while you have a working network connection
pacman -S networkmanager
-
Exit session and return to installer with
exit
-
Generate fstab file with
genfstab /mnt >> /mnt/etc/fstab
-
Unmount root partition
umount /mnt
-
Boot from disk