1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-13 21:51:33 -05:00

Fix /boot permission issues

This commit is contained in:
TommyTran732 2021-04-10 17:22:23 -04:00 committed by tommytran732
parent 030d995be8
commit 72854978f1
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -101,7 +101,7 @@ umount /mnt
echo "Mounting the newly created subvolumes." echo "Mounting the newly created subvolumes."
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@ $BTRFS /mnt mount -o ssd,noatime,space_cache,compress=zstd,subvol=@ $BTRFS /mnt
mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot,/boot/efi} mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot,/boot/efi}
mount -o ssd,noatime,space_cache.compress=zstd,subvol=@boot $BTRFS /mnt/boot mount -o ssd,noatime,space_cache.fmask=0022,dmask=0022,compress=zstd,subvol=@boot $BTRFS /mnt/boot
mount -o ssd,noatime,space_cache.compress=zstd,subvol=@home $BTRFS /mnt/home mount -o ssd,noatime,space_cache.compress=zstd,subvol=@home $BTRFS /mnt/home
mount -o ssd,noatime,space_cache,compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots mount -o ssd,noatime,space_cache,compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots
mount -o ssd,noatime,space_cache,nodatacow,subvol=@var_log $BTRFS /mnt/var/log mount -o ssd,noatime,space_cache,nodatacow,subvol=@var_log $BTRFS /mnt/var/log