Update install.sh

This commit is contained in:
proledatarian 2022-11-18 16:32:26 +00:00
parent c630882792
commit d5c2012ba6
1 changed files with 8 additions and 6 deletions

View File

@ -196,7 +196,9 @@ mkfs.btrfs /dev/mapper/main &&
mount /dev/mapper/main /mnt &&
btrfs subvolume create /mnt/@root &&
# Stupid naming convention for Timeshift only: https://github.com/teejee2008/timeshift#supported-system-configurations
btrfs subvolume create /mnt/@ &&
btrfs subvolume create /mnt/@home &&
btrfs subvolume create /mnt/@snapshots &&
@ -204,11 +206,11 @@ umount /mnt &&
echo
echo "Mounting.." &&
mount -o compress=zstd,subvol=@root /dev/mapper/main /mnt &&
mount -o compress=zstd,subvol=@ /dev/mapper/main /mnt &&
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 &&
mkdir /mnt/.snapshots &&
mount -o compress=zstd,subvol=@snapshots /dev/mapper/main /mnt/.snapshots &&
mkdir /mnt/boot &&
mount /dev/$boot /mnt/boot &&
echo "Mounting complete." &&
@ -326,7 +328,7 @@ linux /vmlinuz-linux-zen
initrd /initramfs-linux-zen.img
options cryptdevice=/dev/$main:main
options root=/dev/mapper/main rw
options rootflags=subvol=@root
options rootflags=subvol=@
options lang=de locale=de_DE.UTF-8
options init=/usr/lib/systemd/systemd
#options loglevel=3
@ -339,7 +341,7 @@ linux /vmlinuz-linux
initrd /initramfs-linux-fallback.img
options cryptdevice=/dev/$main:main
options root=/dev/mapper/main rw
options rootflags=subvol=@root
options rootflags=subvol=@
options lang=de locale=de_DE.UTF-8
options init=/usr/lib/systemd/systemd
EOF