bios
This commit is contained in:
parent
0c2df7cb6d
commit
adcc61b377
1 changed files with 2 additions and 2 deletions
|
@ -162,9 +162,9 @@ function hetzner-rescue-wipe-12-10-10 {
|
|||
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'
|
||||
dd if='/dev/zero' of="${device}4"
|
||||
done
|
||||
# format esp
|
||||
mkfs.vfat -F 32 -n 'esp' '/dev/sda3'
|
||||
# format boot
|
||||
|
|
Loading…
Reference in a new issue