btrfs
This commit is contained in:
parent
fdffd7fb08
commit
7611ee6103
2 changed files with 8 additions and 20 deletions
|
@ -75,11 +75,8 @@ rescue_wipe_0_init_hetzner_8_8() {
|
||||||
--uuid "00000000:00000000:00000000:00000002" \
|
--uuid "00000000:00000000:00000000:00000002" \
|
||||||
"${members[@]}"
|
"${members[@]}"
|
||||||
#
|
#
|
||||||
mkfs.btrfs --force \
|
fs_make_btrfs "/dev/md/boot" "boot" \
|
||||||
--checksum "sha256" \
|
"00000000-0000-0000-0000-00000000000b"
|
||||||
--label "boot" \
|
|
||||||
--uuid "00000000-0000-0000-0000-00000000000b" \
|
|
||||||
"/dev/md/boot"
|
|
||||||
# mount boot
|
# mount boot
|
||||||
mkdir --parents "/media/boot"
|
mkdir --parents "/media/boot"
|
||||||
mount \
|
mount \
|
||||||
|
@ -154,11 +151,8 @@ rescue_wipe_2_make_hetzner_8_8() {
|
||||||
# passphrase
|
# passphrase
|
||||||
unset passphrase
|
unset passphrase
|
||||||
# format crypt
|
# format crypt
|
||||||
mkfs.btrfs --force \
|
fs_make_btrfs "/dev/mapper/crypt" "crypt" \
|
||||||
--checksum "sha256" \
|
"00000000-0000-0000-0000-00000000000c"
|
||||||
--label "crypt" \
|
|
||||||
--uuid "00000000-0000-0000-0000-00000000000c" \
|
|
||||||
"/dev/mapper/crypt"
|
|
||||||
# mount crypt
|
# mount crypt
|
||||||
mkdir --parents "/media/crypt"
|
mkdir --parents "/media/crypt"
|
||||||
mount \
|
mount \
|
||||||
|
|
|
@ -29,11 +29,8 @@ rescue_wipe_0_init_ovh_vle2() {
|
||||||
# boot / wipe
|
# boot / wipe
|
||||||
fs_wipe "${device}2" "1G" 1
|
fs_wipe "${device}2" "1G" 1
|
||||||
# boot / format
|
# boot / format
|
||||||
mkfs.btrfs --force \
|
fs_make_btrfs "${device}2" "boot" \
|
||||||
--checksum "sha256" \
|
"00000000-0000-0000-0000-00000000000b"
|
||||||
--label "boot" \
|
|
||||||
--uuid "00000000-0000-0000-0000-00000000000b" \
|
|
||||||
"${device}2"
|
|
||||||
# boot / mount
|
# boot / mount
|
||||||
mkdir --parents "/media/boot"
|
mkdir --parents "/media/boot"
|
||||||
mount --options "autodefrag,compress-force=zstd" \
|
mount --options "autodefrag,compress-force=zstd" \
|
||||||
|
@ -88,11 +85,8 @@ rescue_wipe_2_make_ovh_vle2() {
|
||||||
# passphrase
|
# passphrase
|
||||||
unset passphrase
|
unset passphrase
|
||||||
# crypt / format
|
# crypt / format
|
||||||
mkfs.btrfs --force \
|
fs_make_btrfs "/dev/mapper/crypt" "crypt" \
|
||||||
--checksum "sha256" \
|
"00000000-0000-0000-0000-00000000000c"
|
||||||
--label "crypt" \
|
|
||||||
--uuid "00000000-0000-0000-0000-00000000000c" \
|
|
||||||
"/dev/mapper/crypt"
|
|
||||||
# crypt / mount
|
# crypt / mount
|
||||||
mkdir --parents "/media/crypt"
|
mkdir --parents "/media/crypt"
|
||||||
mount --options "autodefrag,compress-force=zstd" \
|
mount --options "autodefrag,compress-force=zstd" \
|
||||||
|
|
Loading…
Reference in a new issue