parted
This commit is contained in:
parent
6419243098
commit
1f9ba3b19d
1 changed files with 10 additions and 5 deletions
|
@ -157,22 +157,27 @@ rescue_hetzner_wipe_8_8_0_init() {
|
|||
echo
|
||||
echo "#${number}: ${device}"
|
||||
#
|
||||
parted "${device}" --script \
|
||||
parted "${device}" \
|
||||
--script \
|
||||
mktable gpt
|
||||
#
|
||||
parted "${device}" \
|
||||
unit "${unit}" mkpart "crypt-${number}" 33282 7630885
|
||||
unit "${unit}" \
|
||||
mkpart "crypt-${number}" 33282 7630885
|
||||
#
|
||||
parted "${device}" \
|
||||
unit "${unit}" mkpart "boot-${number}" 514 33282
|
||||
unit "${unit}" \
|
||||
mkpart "boot-${number}" 514 33282
|
||||
#
|
||||
parted "${device}" \
|
||||
unit "${unit}" mkpart "esp-${number}" 2 514
|
||||
unit "${unit}" \
|
||||
mkpart "esp-${number}" 2 514
|
||||
parted "${device}" \
|
||||
set 3 esp on
|
||||
#
|
||||
parted "${device}" \
|
||||
unit "${unit}" mkpart "bios-${number}" 1 2
|
||||
unit "${unit}" \
|
||||
mkpart "bios-${number}" 1 2
|
||||
parted "${device}" \
|
||||
set 4 bios_grub on
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue