From 278e80be0f9b92bc5642029ba25f0d9ce0a0ebc7 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 1 Apr 2023 15:17:26 +0200 Subject: [PATCH] Enable GRUB's OS prober --- scripts/Software/Common/GRUB/setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Software/Common/GRUB/setup.sh b/scripts/Software/Common/GRUB/setup.sh index aa30738e..d40d222b 100755 --- a/scripts/Software/Common/GRUB/setup.sh +++ b/scripts/Software/Common/GRUB/setup.sh @@ -3,3 +3,5 @@ EFI_BOOT_DIR="${EFI_BOOT_DIR}"; BOOTLOADER_ID="${BOOTLOADER_ID}"; grub-install --target=x86_64-efi --efi-directory="$EFI_BOOT_DIR" --bootloader-id="$BOOTLOADER_ID"; grub-mkconfig -o "$EFI_BOOT_DIR/grub/grub.cfg"; + +sed -i "s/#\(GRUB_DISABLE_OS_PROBER\)/\1/" /etc/default/grub