When I read that ionos provides a small VPS for EUR 1 per month I had to try one out. Sadly I found that they lacked a way to boot and install from a custom ISO. After a while I found a way to install my preferred distro (NixOS) on that little VPS:
I started with a debian 12.0 installation on the VPS. Then I continued to set up some swap (2 GB, the NixOS install then still fits comfortably into the 10 GB SSD):
dd if=/dev/zero of=/swap bs=1M count=2048
mkswap /swap
swapon /swap
Without some extra swap the system installation fails lateron. Another gotcha was that I had to mount the EFI boot partition under /mount
instead of /mount/efi
:
umount /boot/efi
mount /dev/vda15 /boot
Make sure to replace /dev/vda15
with the correct partition. The rest of the installation was just following the NixOs manual using the NIXOS_LUSTRATE
method.
EDIT: After the first successfull boot and logging into the system run nix-channel --update
otherwise nothing works ;)