From f4cda4c0960da90e83005789a1f66366fcb463b0 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 3 Oct 2023 09:46:44 +0200 Subject: [PATCH] boot --- bash/hetzner-rescue.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index ee47d11..1dd40d1 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -219,11 +219,15 @@ function hetzner-rescue-wipe-12-10-10 { --level 0 \ --raid-devices ${#devices[@]} \ "${members[@]}" + # format boot + mkfs.ext4 \ + -F \ + -L 'boot' \ + -U '6234a0eb-29a3-a847-1dbd-5ec4bada5579' \ + '/dev/md/boot' } function hetzner-rescue-wipe-12-10-10-extra { - # format boot - mkfs.ext4 -F -L 'boot' '/dev/sda2' # read passphrase local passphrase echo -n 'PassPhrase: '