summaryrefslogtreecommitdiff
path: root/util/create_filesystems.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-01-09 10:52:52 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-01-09 10:52:52 +0100
commit3839b0df19ed779f19defa7bb113c4930e15b745 (patch)
tree4f5c75dcc52336237fc3f728c332c5f1d52b8904 /util/create_filesystems.sh
parentcd5cf703c4ef5f99787f407b122738e087fbfc36 (diff)
parent457c01bfcd6346b8a06420d721fa02a216cea9bf (diff)
downloadarchinstall-3839b0df19ed779f19defa7bb113c4930e15b745.tar
archinstall-3839b0df19ed779f19defa7bb113c4930e15b745.tar.zst
archinstall-3839b0df19ed779f19defa7bb113c4930e15b745.zip
Merge branch 'feature_luks' into devel
Diffstat (limited to 'util/create_filesystems.sh')
-rw-r--r--util/create_filesystems.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/util/create_filesystems.sh b/util/create_filesystems.sh
index 8f2341f..972eefd 100644
--- a/util/create_filesystems.sh
+++ b/util/create_filesystems.sh
@@ -18,12 +18,15 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-boot_partition_path=$1 # e.g. /dev/sda1
-root_partition_path=$2 # e.g. /dev/sda2
+efi_partition_path=$1 # e.g. /dev/sda1
+boot_partition_path=$2 # e.g. /dev/sda2
+root_partition_path=$3 # e.g. /dev/sda3 or /dev/SystemVolumeGroup/root
-mkfs.fat -F32 $boot_partition_path
-fatlabel $boot_partition_path "BOOT"
+mkfs.fat -F32 $efi_partition_path
+fatlabel $efi_partition_path "EFI"
+mkfs.ext4 $boot_partition_path
+e2label $boot_partition_path "BOOT"
mkfs.ext4 $root_partition_path
e2label $root_partition_path "ROOT"