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}" \
|
parted "${device}" unit "${unit}" \
|
||||||
mkpart "bios-${number}" 1 2
|
mkpart "bios-${number}" 1 2
|
||||||
parted "${device}" set 4 bios_grub on
|
parted "${device}" set 4 bios_grub on
|
||||||
|
# wipe bios
|
||||||
|
dd if='/dev/zero' of="${device}4"
|
||||||
done
|
done
|
||||||
# wipe bios
|
|
||||||
dd if='/dev/zero' of='/dev/sda4'
|
|
||||||
# format esp
|
# format esp
|
||||||
mkfs.vfat -F 32 -n 'esp' '/dev/sda3'
|
mkfs.vfat -F 32 -n 'esp' '/dev/sda3'
|
||||||
# format boot
|
# format boot
|
||||||
|
|
Loading…
Reference in a new issue