Go back Web Development

Hetzner - Instal Ubuntu-22.04 on Dedicated EX44 Hetzner server with full encryption and RAID 1

EX44 Dedicated server from Hetzner.com

follow steps in official guide just change /tmp/setup.conf to:

# /tmp/setup.conf
CRYPTPASSWORD xXxXxXxXxTypeYourSecretXxXxXxXx
DRIVE1 /dev/nvme0n1
DRIVE2 /dev/nvme1n1
SWRAID 1
SWRAIDLEVEL 1
BOOTLOADER grub
HOSTNAME my.awesome-server.com
PART /boot ext4 1G
PART /boot/efi esp 256M
PART /     ext4 all crypt
IMAGE /root/images/Ubuntu-2204-jammy-amd64-base.tar.gz
SSHKEYS_URL /tmp/authorized_keys

Note "PART /boot/efi esp 256M"  is needed for some hardware otherwise install script will fail at "ESP missing or Multiple esp found"  more here

source

* https://community.hetzner.com/tutorials/install-ubuntu-2004-with-full-disk-encryption
* https://www.reddit.com/r/hetzner/comments/14j2qam/installimage_failing/