Hetzner tools allow you to install the OS on a dedicated server in different ways, resulting in different results. Let's look at these methods in this article.
Using Robot (RAID1)
The easiest and quickest way is to reinstall the operating system in the «Linux» section of the cloud bar Robot.
We need to go to this section and get acquainted with the information. After that, we select the appropriate OS from the available images. Next, we check the box agreeing that all our data on the drives of the dedicated server will be cleared.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FxwSD6HtbuCItmS2BrnlJ%252Fimage.png%3Falt%3Dmedia%26token%3D66c06120-5e62-45af-b5fb-28ad25e489be&width=768&dpr=4&quality=100&sign=a033d1e0&sv=1)
After using the «Activate Linux installation» button, we get something like this message:
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FkD27cLTjsT1ijBNs1RdM%252Fimage.png%3Falt%3Dmedia%26token%3Def83f755-59ab-4951-985f-8dfa89a50a96&width=768&dpr=4&quality=100&sign=54ed099f&sv=1)
Do not forget to copy the password generated for us, which will be assigned to the root user upon completion of the installation of the operating system.
Next, to start the process, restart our server using the reboot command if there is an active SSH connection or use the «Execute an automatic hardware reset» button in the «Reset» section of the Robot cloud control panel.
We wait a few minutes and try to connect to the server.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FwvJU8xZvbQBS8HoqEsAJ%252Fimage.png%3Falt%3Dmedia%26token%3D6f27d14c-e7c6-47d8-a332-34816c02e0b7&width=768&dpr=4&quality=100&sign=5d87bdad&sv=1)
We see the OS we have selected installed on the cleaned drives. But at the same time, by default, we got the system on RAID1.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FEsIn7SEPhCs7DCOTVvvY%252Fimage.png%3Falt%3Dmedia%26token%3D22c003a9-f364-4b55-be81-01e001b5fbe3&width=768&dpr=4&quality=100&sign=b6b46a8e&sv=1)
Usage installimage (RAID 1/0/10 etc)
The install image utility is a special tool for semi-automatic installation of the operating system, during which basic settings such as RAID type, network configuration, partitioning of the system, etc. are available.
First, we need to switch our dedicated server to System Rescue mode. You can find how to do this in the corresponding instructions.
Be sure to save the password to access the created Rescue session, because after the installation is completed, the password will be assigned to the user of our system using this method.
After activating the Rescue utility, we connect to our server.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252F5uNMrjehcdyHLhr76Zae%252Fimage.png%3Falt%3Dmedia%26token%3D67e4602c-6a44-4014-a2ed-74cd4e685217&width=768&dpr=4&quality=100&sign=5e016883&sv=1)
Great. Now enter this command:
We expect almost instant software preparation.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FOnoKWJB6hFKYIIesYSfX%252Fimage.png%3Falt%3Dmedia%26token%3De4c007fe-c45f-46d3-94f0-8deaa31fb3ff&width=768&dpr=4&quality=100&sign=38f537b&sv=1)
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FrZFPL0DFE1IgHNqqd0YJ%252Fimage.png%3Falt%3Dmedia%26token%3D369b2793-25c9-440e-b55c-2c964f899225&width=768&dpr=4&quality=100&sign=80ec6df&sv=1)
In the list that opens, you need to select the Linux distribution or a custom installation image that you are interested in installing. Let's take Ubuntu as an example.
Control in this window is performed using the arrows on the keyboard, or by double-clicking the mouse (LMB).
Next, select the required version of this distribution from the suggested options. Again, for example, let's choose the last available image — Ubuntu 22.04.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FJ3AvflqflH4thRYyESZ6%252Fimage.png%3Falt%3Dmedia%26token%3D9372a1fe-ff36-4914-9ef3-5b0097e00477&width=768&dpr=4&quality=100&sign=32c7cf78&sv=1)
We familiarize ourselves with the information and press Enter.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FbBlmcLzKQP1BaXO7CBGE%252Fimage.png%3Falt%3Dmedia%26token%3D0eb3143e-24ba-4e64-9297-1854ba99bd2a&width=768&dpr=4&quality=100&sign=76bc168a&sv=1)
A window opens in front of us with the configuration of the system being installed.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FJDAnmfxN86qPgoyQZ7tN%252Fimage.png%3Falt%3Dmedia%26token%3D3ebd56e2-259f-4ce6-8324-8f2a201cbb6e&width=768&dpr=4&quality=100&sign=7daa96f6&sv=1)
First of all, we should pay attention to the SW RAID and SWRAIDLEVEL parameters.
SWRAID — activating or disabling Software Raid (leaving the value 1 for the active state).
SWRAIDLEVEL — determines the level of the Raid to be installed. The default value is 1, in this case RAID1 will be set. If you want to set another value available according to the parameters of your equipment, then specify the number according to the Raid type. For example, for RAID 0, this parameter should look like this (+example in the screenshot):
SWRAIDLEVEL 0
After completing the installation of all necessary parameters, press the F10 button on the keyboard and save the changed config.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FLbOluXOZhGJDgKr2ELwO%252Fimage.png%3Falt%3Dmedia%26token%3D2f2271ef-8b86-463e-8265-172bdfceb74d&width=768&dpr=4&quality=100&sign=49f9fa05&sv=1)
Next, we confirm the information that all existing data will be deleted from our drives.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FvCsV72l0keSNsnZwZVz0%252Fimage.png%3Falt%3Dmedia%26token%3D4c822822-cb35-440b-8221-a86fb6597a3b&width=768&dpr=4&quality=100&sign=b0212a06&sv=1)
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FF6XfZIAZSYwSGwax6KYs%252Fimage.png%3Falt%3Dmedia%26token%3Db62107c2-e0db-47df-bc54-f504929f90e2&width=768&dpr=4&quality=100&sign=1c6a7319&sv=1)
After that, the process of installing the operating system according to the specified parameters begins. We are waiting for completion.
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FGoIkGaGzmJbRVQP27TE5%252Fimage.png%3Falt%3Dmedia%26token%3D43a30fa2-9611-4fa8-a656-57193d6c10d7&width=768&dpr=4&quality=100&sign=1674bb21&sv=1)
Upon completion of the installation, we see a similar message:
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252Fbbmrx9kCkYkBHOLPPQrD%252Fimage.png%3Falt%3Dmedia%26token%3Dbeb866cd-00ec-4c8c-b21b-b6c88c39bc25&width=768&dpr=4&quality=100&sign=5049b5f1&sv=1)
Restarting the server using the reboot
command or the cloud control panel Robot.
After a few minutes have passed, we connect and observe the reinstalled OS of our choice. Since we specified RAID0 in the config for the example, our drives are now working on its basis:
![](https://wiki.spacecore.pro/~gitbook/image?url=https%3A%2F%2F287241268-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FyXvdNIxNLIOcexv7AfU2%252Fuploads%252FeTQ39rF18kZeYTIlj1jV%252Fimage.png%3Falt%3Dmedia%26token%3Def8cc401-daf8-49e8-b289-27cc2cfb3c80&width=768&dpr=4&quality=100&sign=cc25aa0d&sv=1)
Results
Now you have learned how to install the OS on your dedicated server in Germany or Finland in two ways, each of which has its pros and cons.
The server is ready to work!
Last updated