diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 903b0d9..52e9e1f 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -284,12 +284,17 @@ function hetzner-rescue-wipe-8-8-2 { # open echo "${passphrase}" \ | cryptsetup luksOpen '/dev/md/crypt' 'crypt' - # format data + # format crypt mkfs.btrfs --force \ --label 'crypt' \ --uuid '00000000-0000-0000-0000-00000000000c' \ --checksum 'sha256' \ '/dev/mapper/crypt' + # mount crypt + mkdir --parents '/media/crypt' + mount \ + --options 'autodefrag,compress=zstd' \ + '/dev/mapper/crypt' '/media/crypt' # format swap mkswap \ --label 'swap' \