If you need to install Ubuntu on a server provided by Hetzner in rescue mode, you can follow these general steps. Please note that specific steps might vary slightly depending on the Hetzner server model and the version of Ubuntu you want to install.
Activate rescue mode & Save the root password which is shown in screen.
Access Server via SSH:
Once rescue mode is activated, reboot the server ( from Reset menu or from command line).
Connect to your server using an SSH client (e.g., PuTTY on Windows, Terminal on Linux/Mac).
For RAID0 follow these steps :
Setting up Server from Rescue Mode :
Login the Server
Run the command installimage
next step select your preferred OS
Follow the video steps above
Now you have 2 choices Raid1 or Raid0 - choose as per need in editor
If you selected Raid1 > Now you can Allot storage space for Swap memory and Boot drive, even you can Resize your MD2 and MD3 as per Need in editor.
Right now Im using EasyPanel.io as a control panel. which only use ROOT storage. MD2 is mounted on ROOT. To increase MD2 size i need change MD2 placement from MD3 and also decreasing MD3 size from ext4 all to 50G and MD2 size from 50G to ext4 all ( note 50G is just example).
After making all setting in Editor press F10 and save file. ubuntu or your preferred OS will be installed in afew seconds.
All Done Reboot the server. Access the server with same root and password which is shown in Rescue screen.