diff --git a/btrfs-test.sh b/btrfs-test.sh index 54e885a..ded64db 100644 --- a/btrfs-test.sh +++ b/btrfs-test.sh @@ -57,11 +57,11 @@ dev="${array[0]}" szmn="${array[1]%?}" # Setting partition size. -echo "Your system partition has a size of $szmn GB." -echo "What size should your root volume have (GB) ?" -echo "The rest will be used for your home volume." -read szrt -echo +#echo "Your system partition has a size of $szmn GB." +#echo "What size should your root volume have (GB) ?" +#echo "The rest will be used for your home volume." +#read szrt +#echo echo "2. ENCRYPTION" echo @@ -194,8 +194,6 @@ echo lsblk | grep "$dev" echo -exit - echo "Creating the filesystem." boot=${dev}1 mkfs.fat -F 32 -n UEFI /dev/$boot && @@ -219,7 +217,8 @@ mkdir /mnt/home && mount -o compress=zstd,subvol=@home /dev/mapper/main /mnt/home && mkdir /mnt/.snapshots && mount -o compress=zstd,subvol=@snapshots /dev/mapper/main /mnt/.snapshots && -mount /dev/sda2 /mnt/boot && +mkdir /mnt/boot && +mount /dev/$boot /mnt/boot && echo "Mounting complete." && echo