OVH offers (at the moment) two ArchLinux distributions. One is not working as of this writting and the other is fairly old, and has a mix of initd and systemd parts. The partition wizard for the control panel is not great either.

I wanted to install a clean ArchLinux base and was looking around how to do it easily and correctly from the offered rescue-cd bootable they offer which happens to be a debian variant.

I found the following site:

Here are the important parts:

> gdisk /dev/sda
> mkfs -t ext4 /dev/sda1

> mount /dev/sda1 /mnt
> mkdir /mnt/tmp
> cd /mnt/tmp

> wget
> sh -a x86_64 /mnt
> wget -O /mnt/tmp/havegen.tar.xz

> mount -o bind /dev /mnt/dev
> mount -o bind /dev/pts /mnt/dev/pts
> mount -t proc /prorc /mnt/proc
> mount -t sysfs /sys /mnt/sys
> chroot /mnt

> cd /
> tar xJf /tmp/havegen.tar.xz
> havegen -w 1024

> pacman-key –init
> pacman-key –populate

> pacman -S base base-devel syslinux gdisk openssh sudo cmake
> gensftab / > /etc/fstab

# Create your hostname file: /etc/hostname containing the hostname of the system.

> nano /etc/locale.gen
> locale-gen
> ln -s /usr/share/timeinfo/America/New_York /etc/localtime

> mkinitcpio -p linux

> syslinux-install_update -i -a -m

> cp /etc/netctl/examples/ /etc/netctl
> netctl enable

> systemctl enable sshd.socket

# Modify /etc/systemd/system/ to change the port SSHD listens on.