fs_wipe
This commit is contained in:
parent
c641c95c0d
commit
ce6ca845bc
4 changed files with 10 additions and 10 deletions
|
@ -16,16 +16,16 @@ rescue_wipe_0_init_ovh_vle2() {
|
|||
mkpart bios 1 2 \
|
||||
set 4 bios_grub on
|
||||
# bios / wipe
|
||||
fs_wipe "${device}4"
|
||||
sh_fs_wipe "${device}4"
|
||||
# esp / wipe
|
||||
fs_wipe "${device}3" "1M"
|
||||
sh_fs_wipe "${device}3" "1M"
|
||||
# esp / format
|
||||
fs_make_fat "${device}3" "esp" "00000001"
|
||||
# esp / mount
|
||||
mkdir --parents "/media/esp"
|
||||
mount "${device}3" "/media/esp"
|
||||
# boot / wipe
|
||||
fs_wipe "${device}2" "1G" 1
|
||||
sh_fs_wipe "${device}2" "1G" 1
|
||||
# boot / format
|
||||
fs_make_btrfs "${device}2" "boot" \
|
||||
"00000000-0000-0000-0000-00000000000b"
|
||||
|
@ -34,7 +34,7 @@ rescue_wipe_0_init_ovh_vle2() {
|
|||
mount --options "autodefrag,compress-force=zstd" \
|
||||
"${device}2" "/media/boot"
|
||||
# crypt / wipe
|
||||
fs_wipe "${device}1" "1G" 1
|
||||
sh_fs_wipe "${device}1" "1G" 1
|
||||
# crypt / encrypt
|
||||
sh_fs_luks_format "${passphrase}" "${device}1"
|
||||
# crypt / open
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue