1
0

Fix mount options.

This commit is contained in:
CronyAkatsuki 2022-10-13 18:33:16 +02:00
parent 14afc1e850
commit 60913233f5

View File

@ -60,16 +60,16 @@ umount -R /mnt
echo "Mounting the system" echo "Mounting the system"
echo "Mounting root btrs subvolume" echo "Mounting root btrs subvolume"
mount $partition -o subvol @ /mnt mount $partition -o subvol=/@ /mnt
echo "Mounting home btrs subvolume" echo "Mounting home btrs subvolume"
mkdir -p /mnt/home mkdir -p /mnt/home
mount $partition -o subvol @home /mnt/home mount $partition -o subvol=/@home /mnt/home
echo "Mounting cache btrs subvolume" echo "Mounting cache btrs subvolume"
mkdir -p /mnt/var/cache mkdir -p /mnt/var/cache
mount $partition -o subvol @cache /mnt/var/cache mount $partition -o subvol=/@cache /mnt/var/cache
echo "Mounting log btrs subvolume" echo "Mounting log btrs subvolume"
mkdir -p /mnt/var/log mkdir -p /mnt/var/log
mount $partition -o subvol @log /mnt/var/log mount $partition -o subvol=/@log /mnt/var/log
if [[ ! -z ${efipartition+x} ]]; then if [[ ! -z ${efipartition+x} ]]; then
echo "Mounting efi partition" echo "Mounting efi partition"