From d9c6a67d4005141504f875bf5cc0c7a6f817f910 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 3 Oct 2023 05:15:38 +0200 Subject: [PATCH] esp --- bash/hetzner-rescue.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 5833bf0..2dc00e3 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -164,9 +164,10 @@ function hetzner-rescue-wipe-12-10-10 { parted "${device}" set 4 bios_grub on # wipe bios dd if='/dev/zero' of="${device}4" + # format esp + dd if='/dev/zero' of="${device}3" + mkfs.vfat -F 32 -n "esp-${number}" "${device}3" done - # format esp - mkfs.vfat -F 32 -n 'esp' '/dev/sda3' # format boot mkfs.ext4 -F -L 'boot' '/dev/sda2' # read passphrase