Enable GRUB's OS prober

This commit is contained in:
Manuel Thalmann 2023-04-01 15:17:26 +02:00
parent 9be6da454a
commit 278e80be0f

View file

@ -3,3 +3,5 @@ EFI_BOOT_DIR="${EFI_BOOT_DIR}";
BOOTLOADER_ID="${BOOTLOADER_ID}"; BOOTLOADER_ID="${BOOTLOADER_ID}";
grub-install --target=x86_64-efi --efi-directory="$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"; grub-mkconfig -o "$EFI_BOOT_DIR/grub/grub.cfg";
sed -i "s/#\(GRUB_DISABLE_OS_PROBER\)/\1/" /etc/default/grub