Recently, I've gotten myself one of those ARM VPSes from Hetzner, excited about the very good price-to-performance ratio. I fired the server up, and immediately went on to replace the default Ubuntu install with Alpine, as it has long ago become the only server distro I use.
I was disappointed to see that Alpine Linux is not on the list of available ISOs, though. That kinda shocked me, as I was accustomed to the insane amount of ISO choice Hetzner normally provides with their x86 servers.
Go to the Hetzner Cloud control panel, and reboot the server into rescue mode (Rescue > "Enable rescue & power cycle"
). Pick linux64 for the Rescue OS.
Log in to the machine with SSH. In case you have not picked an SSH key, use the root password displayed on the Rescue tab.
Now we need to flash the Alpine Linux ISO onto the virtual hard disk. Go to the alpinelinux.org download page and grab the link for the lastest aarch64 virtual release. Download and flash the ISO on the server:
After the server shuts down, turn it back on again using the Hetzner cloud control panel and enter the console (the terminal icon on the top right). Once the server boots, log in as root
, there's no password.
Before we can proceed with the installation, we need to make a few preparations:
# copy data from the mounted media to /root
# unmount the media
# move the data to directories that were the mountpoints
Now you can install Alpine Linux using setup-alpine
as you'd do normally and then reboot.