This commit is contained in:
Marc Beninca 2024-11-20 09:37:07 +01:00
parent 1dfebbc35a
commit beb4695b29
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ fs_make_btrfs_swap() {
fi fi
} }
fs_make_fat() { sh_fs_make_fat() {
local device="${1}" local device="${1}"
local name="${2}" local name="${2}"
local volid="${3}" local volid="${3}"

View file

@ -44,7 +44,7 @@ rescue_wipe_0_init_hetzner_8_8() {
echo "#${number}: ${device}3" echo "#${number}: ${device}3"
# format esp # format esp
sh_fs_wipe "${device}3" "1M" sh_fs_wipe "${device}3" "1M"
fs_make_fat "${device}3" "esp-${number}" "0000000${number}" sh_fs_make_fat "${device}3" "esp-${number}" "0000000${number}"
# mount esp # mount esp
mkdir --parents "/media/esp/${number}" mkdir --parents "/media/esp/${number}"
mount "${device}3" "/media/esp/${number}" mount "${device}3" "/media/esp/${number}"

View file

@ -20,7 +20,7 @@ rescue_wipe_0_init_ovh_vle2() {
# esp / wipe # esp / wipe
sh_fs_wipe "${device}3" "1M" sh_fs_wipe "${device}3" "1M"
# esp / format # esp / format
fs_make_fat "${device}3" "esp" "00000001" sh_fs_make_fat "${device}3" "esp" "00000001"
# esp / mount # esp / mount
mkdir --parents "/media/esp" mkdir --parents "/media/esp"
mount "${device}3" "/media/esp" mount "${device}3" "/media/esp"