From 0ae15f94eca50c725c5ccde7c357d472b18b37c2 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Fri, 17 Sep 2021 16:23:48 +0200 Subject: [PATCH] Correct snapshot vs snapshots --- archinstall.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/archinstall.sh b/archinstall.sh index 73efc07..ab7e929 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -122,6 +122,9 @@ else part_root="/dev/disk/by-partlabel/arch" fi +# Wait for Partitions +sleep 2 + if [ $encryption -eq 1 ]; then echo "Creating Encrypted Root Partition" cryptsetup luksFormat --type luks1 --cipher aes-xts-plain64 --hash sha512 --key-size 512 "${part_root}" @@ -136,7 +139,7 @@ mkfs.btrfs -L archlinux "${root_dev}" echo "Creating BRTFS Subvolumes" mount "${root_dev}" /mnt -for sv in "@" "@home" "@data" "@snapshot" "@log" "@pkg" "@machines" "@portables"; do +for sv in "@" "@home" "@data" "@snapshots" "@log" "@pkg" "@machines" "@portables"; do btrfs su cr "/mnt/${sv}" done