esp
This commit is contained in:
parent
adcc61b377
commit
d9c6a67d40
1 changed files with 3 additions and 2 deletions
|
@ -164,9 +164,10 @@ function hetzner-rescue-wipe-12-10-10 {
|
||||||
parted "${device}" set 4 bios_grub on
|
parted "${device}" set 4 bios_grub on
|
||||||
# wipe bios
|
# wipe bios
|
||||||
dd if='/dev/zero' of="${device}4"
|
dd if='/dev/zero' of="${device}4"
|
||||||
done
|
|
||||||
# format esp
|
# format esp
|
||||||
mkfs.vfat -F 32 -n 'esp' '/dev/sda3'
|
dd if='/dev/zero' of="${device}3"
|
||||||
|
mkfs.vfat -F 32 -n "esp-${number}" "${device}3"
|
||||||
|
done
|
||||||
# format boot
|
# format boot
|
||||||
mkfs.ext4 -F -L 'boot' '/dev/sda2'
|
mkfs.ext4 -F -L 'boot' '/dev/sda2'
|
||||||
# read passphrase
|
# read passphrase
|
||||||
|
|
Loading…
Reference in a new issue