# Grub BLS confusion with respect to Windows Boot Manager grub entry

**URL:** <https://forums.rockylinux.org/t/grub-bls-confusion-with-respect-to-windows-boot-manager-grub-entry/9515>\
**Category:** Rocky Linux Help & Support\
**Created:** [April 11, 2023, 6:07pm UTC](https://forums.rockylinux.org/t/grub-bls-confusion-with-respect-to-windows-boot-manager-grub-entry/9515 "2023-04-11T18:07:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jas](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@jas](https://forums.rockylinux.org/u/jas)\
**Post date:** [April 11, 2023, 6:07pm UTC](https://forums.rockylinux.org/t/grub-bls-confusion-with-respect-to-windows-boot-manager-grub-entry/9515/1 "2023-04-11T18:07:37Z")

</div>

When I installed my Rocky 8.7 system, the grub os prober script (/etc/grub.d/30\_os-prober) recognized that a Windows install was present and added the regular “Windows Boot Manager” to the grub menu. Now, I want to remove that entry (without removing Windows). Since grub is using BLS I’m (/etc/default/grub contains “GRUB\_ENABLE\_BLSCFG=true”) I know that the Linux kernel entries in the grub menu come from /boot/loader/entries. I wish this contained the Windows entry as well, but it doesn’t seem to. I see that the grub configuration file, /boot/efi/EFI/rocky/grub.cfg does contain the “Windows Boot Manager” line. Now, I’m sure I could delete the entry from that file manually, and it would probably work fine. However, I suspect that the proper solution is probably to add to /etc/default/grub “GRUB\_DISABLE\_OS\_PROBER=true” then to re-generate /boot/efi/EFI/rocky/grub.cfg. That used to happen automatically with installation of new kernels in previous RHEL-compatible O/S, and I don’t know the best manual way to do it. I believe running grub2-mkconfig could break things? Anyway, I’m just looking for the recommended way to make this change that isn’t a hack! 🙂

Jason.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:18am UTC](https://forums.rockylinux.org/t/grub-bls-confusion-with-respect-to-windows-boot-manager-grub-entry/9515/2 "2023-08-25T03:18:30Z")

</div>

Closed on August 25, 2023, 3:18am UTC


