This commit is contained in:
Marc Beninca 2023-10-03 05:01:14 +02:00
parent 7905892e59
commit 22f0f463df

View file

@ -148,10 +148,11 @@ function hetzner-rescue-wipe-12-10-10 {
echo ; echo "#${number}: ${device}" echo ; echo "#${number}: ${device}"
# #
parted "${device}" --script mktable gpt parted "${device}" --script mktable gpt
#
parted "${device}" unit "${unit}" \
mkpart "crypt-${number}" 22359 9537535
done done
# #
parted "${device}" unit "${unit}" mkpart 'crypt' 65795 1907729
#
parted "${device}" unit "${unit}" mkpart 'boot' 259 65795 parted "${device}" unit "${unit}" mkpart 'boot' 259 65795
# #
parted "${device}" unit "${unit}" mkpart 'esp' 2 259 parted "${device}" unit "${unit}" mkpart 'esp' 2 259