From 22f9a45c22a78116b3e0dfde2255b45dc792642b 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