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