Update install.sh

This commit is contained in:
Aaron Honeycutt 2022-05-07 21:51:47 +00:00
parent 78823f9515
commit c4e8d5c46d

View file

@ -69,15 +69,18 @@ sudo swapon $swapName
# Create Subvolumes # Create Subvolumes
sudo btrfs subvolume create /mnt/@ sudo btrfs subvolume create /mnt/@
# sudo btrfs subvolume create /mnt/@home sudo btrfs subvolume create /mnt/@home
# Unmount root
sudo umount /mnt
# 1. Create directory to mount partitions and subvolume # 1. Create directory to mount partitions and subvolume
sudo mkdir /mnt/boot/ sudo mkdir /mnt/boot/
# sudo mkdir /mnt/home/ sudo mkdir /mnt/home/
# 2. Mount the subvolumes. # 2. Mount the subvolumes.
sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@ $rootName /mnt sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@ $rootName /mnt
# sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@home $rootName /mnt/home sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@home $rootName /mnt/home
# 3. Mount the EFI partition. # 3. Mount the EFI partition.
sudo mount $efiName /mnt/boot sudo mount $efiName /mnt/boot