Update install.sh
This commit is contained in:
parent
c630882792
commit
d5c2012ba6
14
install.sh
14
install.sh
@ -196,7 +196,9 @@ mkfs.btrfs /dev/mapper/main &&
|
|||||||
|
|
||||||
mount /dev/mapper/main /mnt &&
|
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/@home &&
|
||||||
btrfs subvolume create /mnt/@snapshots &&
|
btrfs subvolume create /mnt/@snapshots &&
|
||||||
|
|
||||||
@ -204,11 +206,11 @@ umount /mnt &&
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
echo "Mounting.." &&
|
echo "Mounting.." &&
|
||||||
mount -o compress=zstd,subvol=@root /dev/mapper/main /mnt &&
|
mount -o compress=zstd,subvol=@ /dev/mapper/main /mnt &&
|
||||||
mkdir /mnt/home &&
|
mkdir /mnt/home &&
|
||||||
mount -o compress=zstd,subvol=@home /dev/mapper/main /mnt/home &&
|
mount -o compress=zstd,subvol=@home /dev/mapper/main /mnt/home &&
|
||||||
#mkdir /mnt/.snapshots &&
|
mkdir /mnt/.snapshots &&
|
||||||
#mount -o compress=zstd,subvol=@snapshots /dev/mapper/main /mnt/.snapshots &&
|
mount -o compress=zstd,subvol=@snapshots /dev/mapper/main /mnt/.snapshots &&
|
||||||
mkdir /mnt/boot &&
|
mkdir /mnt/boot &&
|
||||||
mount /dev/$boot /mnt/boot &&
|
mount /dev/$boot /mnt/boot &&
|
||||||
echo "Mounting complete." &&
|
echo "Mounting complete." &&
|
||||||
@ -326,7 +328,7 @@ linux /vmlinuz-linux-zen
|
|||||||
initrd /initramfs-linux-zen.img
|
initrd /initramfs-linux-zen.img
|
||||||
options cryptdevice=/dev/$main:main
|
options cryptdevice=/dev/$main:main
|
||||||
options root=/dev/mapper/main rw
|
options root=/dev/mapper/main rw
|
||||||
options rootflags=subvol=@root
|
options rootflags=subvol=@
|
||||||
options lang=de locale=de_DE.UTF-8
|
options lang=de locale=de_DE.UTF-8
|
||||||
options init=/usr/lib/systemd/systemd
|
options init=/usr/lib/systemd/systemd
|
||||||
#options loglevel=3
|
#options loglevel=3
|
||||||
@ -339,7 +341,7 @@ linux /vmlinuz-linux
|
|||||||
initrd /initramfs-linux-fallback.img
|
initrd /initramfs-linux-fallback.img
|
||||||
options cryptdevice=/dev/$main:main
|
options cryptdevice=/dev/$main:main
|
||||||
options root=/dev/mapper/main rw
|
options root=/dev/mapper/main rw
|
||||||
options rootflags=subvol=@root
|
options rootflags=subvol=@
|
||||||
options lang=de locale=de_DE.UTF-8
|
options lang=de locale=de_DE.UTF-8
|
||||||
options init=/usr/lib/systemd/systemd
|
options init=/usr/lib/systemd/systemd
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user