From 42483ab941b266ffacfca6c78aa16dcb110e7a16 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Sun, 5 Jun 2022 21:58:37 +0000 Subject: [PATCH] Revert "Update install.sh" This reverts commit 122765f95a315ada74b1be58108c9902e7d9b528 --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index fe46a50..ba582a2 100644 --- a/install.sh +++ b/install.sh @@ -80,12 +80,17 @@ sudo cryptsetup config $rootName --label luks sudo mkswap /dev/lvm/swap # swap partition sudo mkfs.btrfs -L root /dev/lvm/root # /root partition +# 0. Mount the filesystems. sudo swapon /dev/lvm/swap +sudo mount /dev/lvm/root /mnt # Create Subvolumes sudo btrfs subvolume create /mnt/@ sudo btrfs subvolume create /mnt/@home +# Unmount root +sudo umount /mnt + # Mount the subvolumes. sudo mount -o noatime,commit=120,compress=zstd:10,subvol=@ /dev/lvm/root /mnt