No grub menu but manjaro boots directly dual boot

Walked through solution here but it isn’t quite my issue. I was following the steps here. I have 30_os_prober and 60_memtest chmod’ed to 644 (won’t execute) in /etc/grub.d and I added the windows boot loader stanza to 40_custom. It does appear in /boot/grub/grub.cfg after running grub-install and update-grub. However the usual Manjaro Grub menu doesn’t appear. Instead, it boots immediately to Manjaro (well after the 5 second GRUB_TIMEOUT) without showing the grub menu. GRUB_TIMEOUT_STYLE=hidden but I think that’s default?

Any help appreciated. TIA!

That’s because you did not do things by the book. :wink:

Change that to… :arrow_down:


… and then run… :arrow_down:

sudo update-grub
1 Like

‘by the book’ indeed … a lifelong issue 4 me! Thank you @Aragorn!

1 Like

Seeing the menu but no Windows entry. Here’s the output of update-grub:

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Adding boot menu entry for UEFI Firmware Settings ...

and here’s my /boot/grub/grub.cfg showing a windows menuitem but doesn’t appear in the Grub menu for some reason:

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menu
entry_id_option 'osprober-efi-092B-6AA4' {
        insmod part_gpt
        insmod fat
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  092B-6AA4
          search --no-floppy --fs-uuid --set=root 092B-6AA4
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi

wondering if the ‘osprober-efi’ in grub.cfg is causing the menuentry to stay hidden?

That was it; I replaced the stanza with something simpler and the menuentry re-appeared:

menuentry "Windows 10" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 1CFC7A8DFC7A60C6
    chainloader +1

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.