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