Skip to content

Instantly share code, notes, and snippets.

View mrckndt's full-sized avatar
🔥
┬─┬ノ(°–°ノ)

Marco mrckndt

🔥
┬─┬ノ(°–°ノ)
  • Mattermost
  • Berlin
View GitHub Profile
@jkullick
jkullick / headless-luks-encrypted-ubuntu-server.md
Last active March 15, 2024 21:08
Headless LUKS encrypted Ubuntu Server on Hetzner
# stop active raid
mdadm --stop /dev/md[01]

# destroy partition table on hdds
dd if=/dev/zero of=/dev/sda bs=1M count=512
dd if=/dev/zero of=/dev/sdb bs=1M count=512

# create new partition table
sgdisk -og /dev/sda