This commit is contained in:
Marc Beninca 2023-10-03 05:09:15 +02:00
parent e36e590799
commit 0c2df7cb6d

View file

@ -158,10 +158,11 @@ function hetzner-rescue-wipe-12-10-10 {
parted "${device}" unit "${unit}" \ parted "${device}" unit "${unit}" \
mkpart "esp-${number}" 2 513 mkpart "esp-${number}" 2 513
parted "${device}" set 3 esp on parted "${device}" set 3 esp on
done
# #
parted "${device}" unit "${unit}" mkpart bios 1 2 parted "${device}" unit "${unit}" \
mkpart "bios-${number}" 1 2
parted "${device}" set 4 bios_grub on parted "${device}" set 4 bios_grub on
done
# wipe bios # wipe bios
dd if='/dev/zero' of='/dev/sda4' dd if='/dev/zero' of='/dev/sda4'
# format esp # format esp