force format boot

This commit is contained in:
Marc Beninca 2023-05-13 03:42:00 +02:00
parent c301758e1c
commit e017ce2785

View file

@ -117,7 +117,7 @@ function ovh-rescue-wipe-1-2TB {
# format esp # format esp
mkfs.vfat -F 32 -n 'esp' '/dev/sda3' mkfs.vfat -F 32 -n 'esp' '/dev/sda3'
# format boot # format boot
mkfs.ext4 -L 'boot' '/dev/sda2' mkfs.ext4 -F -L 'boot' '/dev/sda2'
# read passphrase # read passphrase
local passphrase local passphrase
echo -n 'PassPhrase: ' echo -n 'PassPhrase: '