From 0c2df7cb6d0546243bd7bad51f87847903c49bee Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 3 Oct 2023 05:09:15 +0200 Subject: [PATCH] bios --- bash/hetzner-rescue.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index d6f763f..a5588be 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -158,10 +158,11 @@ function hetzner-rescue-wipe-12-10-10 { parted "${device}" unit "${unit}" \ mkpart "esp-${number}" 2 513 parted "${device}" set 3 esp on + # + parted "${device}" unit "${unit}" \ + mkpart "bios-${number}" 1 2 + parted "${device}" set 4 bios_grub on done - # - parted "${device}" unit "${unit}" mkpart bios 1 2 - parted "${device}" set 4 bios_grub on # wipe bios dd if='/dev/zero' of='/dev/sda4' # format esp