Get a VPS server with a 15% discount
Sale ends in
00Days
:
00Hours
:
00Minutes
:
00Seconds

Installing an OS on a Hetzner Server: Robot and installimage

Hetzner tools allow you to install an OS on a dedicated server in different ways, resulting in different configurations. In this article, we'll look at these methods.

Using Robot (RAID1)

The simplest and fastest method is to reinstall the operating system in the «Linux» section of the Robot control panel.

First, go to this section and review the information. Then choose a suitable OS from the available images. After that, check the box confirming that all data on the dedicated server's drives will be erased.

Selecting an OS in the Linux section of the Robot panel

After clicking the «Activate Linux installation» button, you will see a message similar to this:

Message confirming Linux installation activation

Be sure to copy the password generated for you; it will be assigned to the root user once the operating system installation is complete.

Next, to start the process, reboot the server using the command if you have an active SSH session, or use the «Execute an automatic hardware reset» button in the «Reset» section of the Robot control panel.

Wait a few minutes and then try connecting to the server.

Connecting to the server after installation

You will see the OS you selected installed on the wiped drives. By default, however, the system is configured with RAID1.

System installed in a RAID1 configuration

Using installimage (RAID 1/0/10, etc.)

The installimage utility is a special tool for semi-automatic installation of the operating system. During this process you can configure the main settings, such as the RAID level, network configuration, partition layout and so on.

First, you need to boot your dedicated server into SystemRescue mode. You can find how to do this in the corresponding guide.

Be sure to save the password for accessing the Rescue session, because after installation using this method it will be assigned to the user of your system.

After activating Rescue, connect to your server.

Connecting to the server in Rescue mode

Great. Now run the following command:

The software environment is prepared almost instantly.

installimage utility preparation
Launching installimage

In the list that opens, select the Linux distribution or custom installation image you want to deploy. For this example, we'll use Ubuntu.

Use the arrow keys or double-click with the mouse (LMB) to navigate in this window.

Next, choose the required version of the selected distribution from the available options. Again, for this example we'll select the latest available image — Ubuntu 22.04.

Selecting the Ubuntu distribution version

Review the information and press Enter.

Information window before configuration

A configuration window for the system to be installed will open.

Configuration window for the system being installed

First of all, pay attention to the SWRAID and SWRAIDLEVEL parameters.

SWRAID — enables or disables Software RAID (leave the value set to 1 to keep it enabled).

SWRAIDLEVEL — defines the RAID level that will be used. By default it is set to 1, which creates RAID1. If you want to use a different level supported by your hardware, specify the number corresponding to the desired RAID type. For example, for RAID0 this parameter should look as follows:

After configuring all the required parameters, press F10 on the keyboard and save the updated configuration.

Saving the updated configuration

Then confirm that all existing data will be deleted from the drives.

Confirming data deletion from the drives
Confirming the installation parameters

The operating system installation process will then start according to the specified parameters. Wait for it to complete.

Operating system installation in progress

When the installation is complete, you will see a message similar to this:

Message confirming installation completion

Reboot the server using the command or via the Robot control panel.

After a few minutes, connect again and you will see the OS you selected has been installed. Because we set RAID0 in the configuration for this example, the drives are now operating in RAID0:

Drives operating in a RAID0 configuration

Summary

You have now learned two different ways to install an OS on your dedicated server in Germany or Finland, each with its own advantages and disadvantages.

Your server is ready for use.