From d8d3d2036581d3663eba7b8a6373c35e3257a6a3 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 3 Apr 2024 00:27:21 +0100 Subject: Enable detection of other operating systems in GRUB --- install-artix.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-artix.sh b/install-artix.sh index 2f46139..5e3c25a 100755 --- a/install-artix.sh +++ b/install-artix.sh @@ -305,6 +305,11 @@ if [[ "${encrypt}" == true ]]; then -i /mnt/etc/default/grub fi +# Detect other OS in GRUB +if [[ $duel_boot == true ]]; then + echo "GRUB_DISABLE_OS_PROBER=false" >> /mnt/etc/default/grub +fi + # install grub if [[ $firmware == uefi ]]; then grub_options="--target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB" -- cgit