diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-12-22 15:20:25 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-12-22 15:20:25 +0100 |
commit | b26983b4e967957f5ecc32d75663a723f97c2588 (patch) | |
tree | 2d22243e42ccd8c13696a9aae50d62a5911d90e2 /util/create_filesystems.sh | |
parent | 36bb8d372ab57d68dae365619bf20cf89a612021 (diff) | |
download | archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar.zst archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.zip |
Reimplemented some modules for luks encryption.
Diffstat (limited to 'util/create_filesystems.sh')
-rw-r--r-- | util/create_filesystems.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util/create_filesystems.sh b/util/create_filesystems.sh index 58d67bb..41ed84a 100644 --- a/util/create_filesystems.sh +++ b/util/create_filesystems.sh @@ -19,12 +19,15 @@ efi_partition_path=$1 # e.g. /dev/sda1 -main_partition_path=$2 # e.g. /dev/sda2 +boot_partition_path=$2 # e.g. /dev/sda2 +root_partition_path=$3 # e.g. /dev/sda3 or /dev/SystemVolumeGroup/root mkfs.fat -F32 $efi_partition_path fatlabel $efi_partition_path "EFI" -mkfs.ext4 $main_partition_path -e2label $main_partition_path "MAIN" +mkfs.ext4 $boot_partition_path +e2label $boot_partition_path "BOOT" +mkfs.ext4 $root_partition_path +e2label $root_partition_path "MAIN" echo "Created filesystems - OK" |