bios
This commit is contained in:
parent
e36e590799
commit
0c2df7cb6d
1 changed files with 4 additions and 3 deletions
|
@ -158,10 +158,11 @@ function hetzner-rescue-wipe-12-10-10 {
|
|||
parted "${device}" unit "${unit}" \
|
||||
mkpart "esp-${number}" 2 513
|
||||
parted "${device}" set 3 esp on
|
||||
done
|
||||
#
|
||||
parted "${device}" unit "${unit}" mkpart bios 1 2
|
||||
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'
|
||||
# format esp
|
||||
|
|
Loading…
Reference in a new issue