Fix Grub Menu not showing in Manjaro Windows Dual Boot
Background
Many times due to Windows/Manjaro updates, your grub may not be functioning properly. The following two problems are fixed by following this blog post.
- System directly boots into Windows without showing you grub-menu.
- Windows boot-option is not visible in your grub-menu.
Solution
Boot into Manjaro using Live-USB, and then you may also connect to WiFi network once booted in. Open up a terminal and run the following command.
$ manjaro-chroot
After running the above command, you may be asked to make a choice, and it will display only 1 option, i.e 0. When you enter your choice as 0, it will give an error, so just type 1 and then your mount will be successful.
After that, type the following command.
$ grub-install –target=x86_64-efi –efi-directory=/boot/efi –bootloader-id=manjaro –recheck
Then, type
$ update-grub
and finally, type
$ exit
After this, you can shutdown your system, remove the pendrive and the grub-menu will be working.
If you are not able to see Windows boot option in your grub-menu, then go to /etc/default/, open grub file in that directory and add the following line at the end (if it’s not there already)
GRUB_DISABLE_OS_PROBER=false
save the file, and run the following command in the terminal.
$ update-grub
Shutdown your system and start it again, the problem with grub-menu not showing in Manjaro Windows dual boot or Windows entry not present in the menu would be fixed.