# Installing Arch Linux On a Vultr Server This is a minimal installation guide targeted to get Arch Linux running on Vultr. For simplicity, 'time zone', 'hostname', 'locale' and 'initramfs' are omited, you can configure them later by yourself. ## Partition the disks For simplicity, we use [single root partition](https://wiki.archlinux.org/index.php/Partitioning#Single_root_partition). ``` # fdisk /dev/vda # n # enter(use default) # enter(use default) # enter(use default) # enter(use default) # w ``` ## Format the partitions ``` # mkfs.ext4 /dev/vda1 ``` ## Mount the file systems ``` # mount /dev/vda1 /mnt ``` ## Install the base packages ``` # pacstrap /mnt base ``` ## Fstab ``` # genfstab -U /mnt >> /mnt/etc/fstab ``` ## Chroot ``` # arch-chroot /mnt ``` ## Network configuration ``` # systemctl enable dhcpcd ``` ## Root password ``` # passwd # (enter your passwd) # (enter again) ``` ## Boot loader ``` # pacman -S grub # grub-install /dev/vda # grub-mkconfig -o /boot/grub/grub.cfg ``` ## SSH ``` # pacman -S openssh # systemctl enable sshd ``` ## Shutdown ``` # exit # shutdown now ``` Finally, goto https://my.vultr.com/ and remove ISO. (your arch will start to boot) ## References 1. [Offical arch linux installation guide](https://wiki.archlinux.org/index.php/installation_guide)