diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 7cde848..d14dac2 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -181,6 +181,15 @@ function hetzner-rescue-wipe-12-10-10 { dd if='/dev/zero' of="${device}3" mkfs.vfat -F 32 -n "esp-${number}" "${device}3" done + # + number=0 + for device in "${devices[@]}" ; do + ((number++)) + echo ; echo "#${number}: ${device}" + # wipe boot + dd if='/dev/zero' of="${device}2" bs='1G' status='progress' + done +#### # format boot mkfs.ext4 -F -L 'boot' '/dev/sda2' # read passphrase