From b26983b4e967957f5ecc32d75663a723f97c2588 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 22 Dec 2019 15:20:25 +0100 Subject: Reimplemented some modules for luks encryption. --- util/create_filesystems.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'util/create_filesystems.sh') 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" -- cgit v1.2.3-70-g09d2