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