boot
This commit is contained in:
parent
74a27a077c
commit
3ac8efc19d
1 changed files with 9 additions and 0 deletions
|
@ -181,6 +181,15 @@ function hetzner-rescue-wipe-12-10-10 {
|
|||
dd if='/dev/zero' of="${device}3"
|
||||
mkfs.vfat -F 32 -n "esp-${number}" "${device}3"
|
||||
done
|
||||
#
|
||||
number=0
|
||||
for device in "${devices[@]}" ; do
|
||||
((number++))
|
||||
echo ; echo "#${number}: ${device}"
|
||||
# wipe boot
|
||||
dd if='/dev/zero' of="${device}2" bs='1G' status='progress'
|
||||
done
|
||||
####
|
||||
# format boot
|
||||
mkfs.ext4 -F -L 'boot' '/dev/sda2'
|
||||
# read passphrase
|
||||
|
|
Loading…
Reference in a new issue