Fix mount options.
This commit is contained in:
parent
14afc1e850
commit
60913233f5
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user