Guide to install Arch Linux with LUKS encryption on an hetzner server
Go to file
2020-04-15 12:32:29 +02:00
README.md Added draft for autosetup 2020-04-15 12:32:29 +02:00

Arch Linux with LUKS and btrfs on a hetzner server

This guide should show you how to set up an System with the following specifications on an hetzner server:

  • Arch Linux
  • btrfs
  • LUKS

Guide

##  Hetzner Online GmbH - installimage - config

DRIVE1 /dev/sda
DRIVE2 /dev/sdb

##  SOFTWARE RAID:
## activate software RAID?  < 0 | 1 >
SWRAID 1

## Choose the level for the software RAID < 0 | 1 | 10 >
SWRAIDLEVEL 1

##  BOOTLOADER:
BOOTLOADER grub

##  HOSTNAME:
HOSTNAME hetzner-arch-luks
#Adapt the hostname to your needs

##  PARTITIONS / FILESYSTEMS:
PART /boot  btrfs     512M
PART lvm    vg0       all
LV vg0   swap   swap     swap         8G
LV vg0   root   /        btrfs        10G

##  OPERATING SYSTEM IMAGE:
IMAGE /root/.oldroot/nfs/install/../images/archlinux-latest-64-minimal.tar.gz

Sources

The code is adapted from the following guides: