From ababbc09f0f22080aae162a5ee035c18652f5019 Mon Sep 17 00:00:00 2001 From: semigel Date: Mon, 18 Dec 2023 00:56:48 +0000 Subject: [PATCH] Update config/grub/config/grub.cfg grub.cfg: add BTRFS subvol support --- config/grub/config/grub.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/grub/config/grub.cfg b/config/grub/config/grub.cfg index 8a124062..9439778a 100644 --- a/config/grub/config/grub.cfg +++ b/config/grub/config/grub.cfg @@ -46,7 +46,9 @@ fi function try_user_config { set root="${1}" - for dir in boot grub grub2 boot/grub boot/grub2; do + + # The @/... entries are for cases where the BTRFS filesystem is being used + for dir in boot grub grub2 boot/grub boot/grub2 @/boot @/grub @/grub2 @/boot/grub @/boot/grub2; do for name in '' osboot_ autoboot_ libreboot_ coreboot_; do if [ -f /"${dir}"/"${name}"grub.cfg ]; then unset superusers