This commit is contained in:
Marc Beninca 2023-10-03 05:15:38 +02:00
parent adcc61b377
commit d9c6a67d40

View file

@ -164,9 +164,10 @@ function hetzner-rescue-wipe-12-10-10 {
parted "${device}" set 4 bios_grub on parted "${device}" set 4 bios_grub on
# wipe bios # wipe bios
dd if='/dev/zero' of="${device}4" dd if='/dev/zero' of="${device}4"
done
# format esp # format esp
mkfs.vfat -F 32 -n 'esp' '/dev/sda3' dd if='/dev/zero' of="${device}3"
mkfs.vfat -F 32 -n "esp-${number}" "${device}3"
done
# format boot # format boot
mkfs.ext4 -F -L 'boot' '/dev/sda2' mkfs.ext4 -F -L 'boot' '/dev/sda2'
# read passphrase # read passphrase