This commit is contained in:
Marc Beninca 2023-10-03 05:11:55 +02:00
parent 0c2df7cb6d
commit adcc61b377

View file

@ -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
done
# wipe bios
dd if='/dev/zero' of='/dev/sda4'
dd if='/dev/zero' of="${device}4"
done
# format esp
mkfs.vfat -F 32 -n 'esp' '/dev/sda3'
# format boot