From b298669bfeabac4067263cec97a89ebb579a61d5 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 31 May 2024 20:13:48 -0700 Subject: [PATCH] Add comment on disabling subvol pinning Signed-off-by: Tommy --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index f85f00c..a9b373f 100644 --- a/install.sh +++ b/install.sh @@ -336,6 +336,9 @@ sed -i 's/#GRUB_ENABLE_CRYPTODISK=.*/GRUB_ENABLE_CRYPTODISK=y/g' /mnt/etc/defaul echo '' >> /mnt/etc/default/grub echo '# Booting with BTRFS subvolume GRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION=true' >> /mnt/etc/default/grub + +## Disable root subvol pinning. +## This is **extremely** important, as snapper expects to be able to set the default btrfs subvol. # shellcheck disable=SC2016 sed -i 's/rootflags=subvol=${rootsubvol}//g' /mnt/etc/grub.d/10_linux # shellcheck disable=SC2016